Movatterモバイル変換


[0]ホーム

URL:


beyondcorp

package
v0.257.0Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 2, 2025 License:BSD-3-ClauseImports:18Imported by:0

Details

Repository

github.com/googleapis/google-api-go-client

Links

Documentation

Overview

Package beyondcorp provides access to the BeyondCorp API.

For product documentation, see:https://cloud.google.com/

Library status

These client libraries are officially supported by Google. However, thislibrary is considered complete and is in maintenance mode. This meansthat we will address critical bugs and security issues but will not addany new features.

When possible, we recommend using our newer[Cloud Client Libraries for Go](https://pkg.go.dev/cloud.google.com/go)that are still actively being worked and iterated on.

Creating a client

Usage example:

import "google.golang.org/api/beyondcorp/v1alpha"...ctx := context.Background()beyondcorpService, err := beyondcorp.NewService(ctx)

In this example, Google Application Default Credentials are used forauthentication. For information on how to create and obtain ApplicationDefault Credentials, seehttps://developers.google.com/identity/protocols/application-default-credentials.

Other authentication options

To use an API key for authentication (note: some APIs do not support APIkeys), usegoogle.golang.org/api/option.WithAPIKey:

beyondcorpService, err := beyondcorp.NewService(ctx, option.WithAPIKey("AIza..."))

To use an OAuth token (e.g., a user token obtained via a three-legged OAuthflow, usegoogle.golang.org/api/option.WithTokenSource:

config := &oauth2.Config{...}// ...token, err := config.Exchange(ctx, ...)beyondcorpService, err := beyondcorp.NewService(ctx, option.WithTokenSource(config.TokenSource(ctx, token)))

Seegoogle.golang.org/api/option.ClientOption for details on options.

Index

Constants

View Source
const (// See, edit, configure, and delete your Google Cloud data and see the email// address for your Google Account.CloudPlatformScope = "https://www.googleapis.com/auth/cloud-platform")

OAuth2 scopes used by this API.

Variables

This section is empty.

Functions

This section is empty.

Types

typeAllocatedConnection

type AllocatedConnection struct {// IngressPort: Required. The ingress port of an allocated connectionIngressPortint64 `json:"ingressPort,omitempty"`// PscUri: Required. The PSC uri of an allocated connectionPscUristring `json:"pscUri,omitempty"`// ForceSendFields is a list of field names (e.g. "IngressPort") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "IngressPort") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AllocatedConnection: Allocated connection of the AppGateway.

func (AllocatedConnection)MarshalJSON

func (sAllocatedConnection) MarshalJSON() ([]byte,error)

typeAppGateway

type AppGateway struct {// AllocatedConnections: Output only. A list of connections allocated for the// GatewayAllocatedConnections []*AllocatedConnection `json:"allocatedConnections,omitempty"`// CreateTime: Output only. Timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// DisplayName: Optional. An arbitrary user-provided name for the AppGateway.// Cannot exceed 64 characters.DisplayNamestring `json:"displayName,omitempty"`// HostType: Required. The type of hosting used by the AppGateway.//// Possible values://   "HOST_TYPE_UNSPECIFIED" - Default value. This value is unused.//   "GCP_REGIONAL_MIG" - AppGateway hosted in a GCP regional managed instance// group.HostTypestring `json:"hostType,omitempty"`// Labels: Optional. Resource labels to represent user provided metadata.Labels map[string]string `json:"labels,omitempty"`// Name: Required. Unique resource name of the AppGateway. The name is ignored// when creating an AppGateway.Namestring `json:"name,omitempty"`// SatisfiesPzi: Output only. Reserved for future use.SatisfiesPzibool `json:"satisfiesPzi,omitempty"`// SatisfiesPzs: Output only. Reserved for future use.SatisfiesPzsbool `json:"satisfiesPzs,omitempty"`// State: Output only. The current state of the AppGateway.//// Possible values://   "STATE_UNSPECIFIED" - Default value. This value is unused.//   "CREATING" - AppGateway is being created.//   "CREATED" - AppGateway has been created.//   "UPDATING" - AppGateway's configuration is being updated.//   "DELETING" - AppGateway is being deleted.//   "DOWN" - AppGateway is down and may be restored in the future. This// happens when CCFE sends ProjectState = OFF.Statestring `json:"state,omitempty"`// Type: Required. The type of network connectivity used by the AppGateway.//// Possible values://   "TYPE_UNSPECIFIED" - Default value. This value is unused.//   "TCP_PROXY" - TCP Proxy based BeyondCorp Connection. API will default to// this if unset.Typestring `json:"type,omitempty"`// Uid: Output only. A unique identifier for the instance generated by the// system.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. Timestamp when the resource was last modified.UpdateTimestring `json:"updateTime,omitempty"`// Uri: Output only. Server-defined URI for this resource.Uristring `json:"uri,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AllocatedConnections") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AllocatedConnections") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AppGateway: A BeyondCorp AppGateway resource represents a BeyondCorpprotected AppGateway to a remote application. It creates all the necessaryGCP components needed for creating a BeyondCorp protected AppGateway.Multiple connectors can be authorised for a single AppGateway.

func (AppGateway)MarshalJSON

func (sAppGateway) MarshalJSON() ([]byte,error)

typeAppGatewayOperationMetadata

type AppGatewayOperationMetadata struct {// ApiVersion: Output only. API version used to start the operation.ApiVersionstring `json:"apiVersion,omitempty"`// CreateTime: Output only. The time the operation was created.CreateTimestring `json:"createTime,omitempty"`// EndTime: Output only. The time the operation finished running.EndTimestring `json:"endTime,omitempty"`// RequestedCancellation: Output only. Identifies whether the user has// requested cancellation of the operation. Operations that have successfully// been cancelled have google.longrunning.Operation.error value with a// google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.RequestedCancellationbool `json:"requestedCancellation,omitempty"`// StatusMessage: Output only. Human-readable status of the operation, if any.StatusMessagestring `json:"statusMessage,omitempty"`// Target: Output only. Server-defined resource path for the target of the// operation.Targetstring `json:"target,omitempty"`// Verb: Output only. Name of the verb executed by the operation.Verbstring `json:"verb,omitempty"`// ForceSendFields is a list of field names (e.g. "ApiVersion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiVersion") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

AppGatewayOperationMetadata: Represents the metadata of the long-runningoperation.

func (AppGatewayOperationMetadata)MarshalJSON

func (sAppGatewayOperationMetadata) MarshalJSON() ([]byte,error)

typeApplicationEndpoint

type ApplicationEndpoint struct {// Host: Required. Hostname or IP address of the remote application endpoint.Hoststring `json:"host,omitempty"`// Port: Required. Port of the remote application endpoint.Portint64 `json:"port,omitempty"`// ForceSendFields is a list of field names (e.g. "Host") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Host") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ApplicationEndpoint: ApplicationEndpoint represents a remote applicationendpoint.

func (ApplicationEndpoint)MarshalJSON

func (sApplicationEndpoint) MarshalJSON() ([]byte,error)

typeCloudPubSubNotificationConfig

type CloudPubSubNotificationConfig struct {// PubsubSubscription: The Pub/Sub subscription the connector uses to receive// notifications.PubsubSubscriptionstring `json:"pubsubSubscription,omitempty"`// ForceSendFields is a list of field names (e.g. "PubsubSubscription") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "PubsubSubscription") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

CloudPubSubNotificationConfig: The configuration for Pub/Sub messaging forthe connector.

func (CloudPubSubNotificationConfig)MarshalJSON

func (sCloudPubSubNotificationConfig) MarshalJSON() ([]byte,error)

typeCloudSecurityZerotrustApplinkAppConnectorProtoConnectionConfig

type CloudSecurityZerotrustApplinkAppConnectorProtoConnectionConfig struct {// ApplicationEndpoint: application_endpoint is the endpoint of the application// the form of host:port. For example, "localhost:80".ApplicationEndpointstring `json:"applicationEndpoint,omitempty"`// ApplicationName: application_name represents the given name of the// application the connection is connecting with.ApplicationNamestring `json:"applicationName,omitempty"`// Gateway: gateway lists all instances running a gateway in GCP. They all// connect to a connector on the host.Gateway []*CloudSecurityZerotrustApplinkAppConnectorProtoGateway `json:"gateway,omitempty"`// Name: name is the unique ID for each connection. TODO(b/190732451) returns// connection name from user-specified name in config. Now, name =// ${application_name}:${application_endpoint}Namestring `json:"name,omitempty"`// Project: project represents the consumer project the connection belongs to.Projectstring `json:"project,omitempty"`// TunnelsPerGateway: tunnels_per_gateway reflects the number of tunnels// between a connector and a gateway.TunnelsPerGatewayint64 `json:"tunnelsPerGateway,omitempty"`// UserPort: user_port specifies the reserved port on gateways for user// connections.UserPortint64 `json:"userPort,omitempty"`// ForceSendFields is a list of field names (e.g. "ApplicationEndpoint") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApplicationEndpoint") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

CloudSecurityZerotrustApplinkAppConnectorProtoConnectionConfig:ConnectionConfig represents a Connection Configuration object.

func (CloudSecurityZerotrustApplinkAppConnectorProtoConnectionConfig)MarshalJSON

typeCloudSecurityZerotrustApplinkAppConnectorProtoConnectorDetails

type CloudSecurityZerotrustApplinkAppConnectorProtoConnectorDetails struct {}

CloudSecurityZerotrustApplinkAppConnectorProtoConnectorDetails:ConnectorDetails reflects the details of a connector.

typeCloudSecurityZerotrustApplinkAppConnectorProtoGateway

type CloudSecurityZerotrustApplinkAppConnectorProtoGateway struct {// Interface: interface specifies the network interface of the gateway to// connect to.Interfacestring `json:"interface,omitempty"`// Name: name is the name of an instance running a gateway. It is the unique ID// for a gateway. All gateways under the same connection have the same prefix.// It is derived from the gateway URL. For example, name=${instance} assuming a// gateway URL.//https://www.googleapis.com/compute/${version}/projects/${project}/zones/${zone}/instances/${instance}Namestring `json:"name,omitempty"`// Port: port specifies the port of the gateway for tunnel connections from the// connectors.Portint64 `json:"port,omitempty"`// Project: project is the tenant project the gateway belongs to. Different// from the project in the connection, it is a BeyondCorpAPI internally created// project to manage all the gateways. It is sharing the same network with the// consumer project user owned. It is derived from the gateway URL. For// example, project=${project} assuming a gateway URL.//https://www.googleapis.com/compute/${version}/projects/${project}/zones/${zone}/instances/${instance}Projectstring `json:"project,omitempty"`// SelfLink: self_link is the gateway URL in the form//https://www.googleapis.com/compute/${version}/projects/${project}/zones/${zone}/instances/${instance}SelfLinkstring `json:"selfLink,omitempty"`// Zone: zone represents the zone the instance belongs. It is derived from the// gateway URL. For example, zone=${zone} assuming a gateway URL.//https://www.googleapis.com/compute/${version}/projects/${project}/zones/${zone}/instances/${instance}Zonestring `json:"zone,omitempty"`// ForceSendFields is a list of field names (e.g. "Interface") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Interface") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

CloudSecurityZerotrustApplinkAppConnectorProtoGateway: Gateway represents aGCE VM Instance endpoint for use by IAP TCP.

func (CloudSecurityZerotrustApplinkAppConnectorProtoGateway)MarshalJSON

typeCloudSecurityZerotrustApplinkLogagentProtoLogAgentDetails

type CloudSecurityZerotrustApplinkLogagentProtoLogAgentDetails struct {}

CloudSecurityZerotrustApplinkLogagentProtoLogAgentDetails: LogAgentDetailsreflects the details of a log agent.

typeConnection

type Connection struct {// ApplicationEndpoint: Required. Address of the remote application endpoint// for the BeyondCorp Connection.ApplicationEndpoint *ApplicationEndpoint `json:"applicationEndpoint,omitempty"`// Connectors: Optional. List of// [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be// associated with this Connection.Connectors []string `json:"connectors,omitempty"`// CreateTime: Output only. Timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// DisplayName: Optional. An arbitrary user-provided name for the connection.// Cannot exceed 64 characters.DisplayNamestring `json:"displayName,omitempty"`// Gateway: Optional. Gateway used by the connection.Gateway *Gateway `json:"gateway,omitempty"`// Labels: Optional. Resource labels to represent user provided metadata.Labels map[string]string `json:"labels,omitempty"`// Name: Required. Unique resource name of the connection. The name is ignored// when creating a connection.Namestring `json:"name,omitempty"`// State: Output only. The current state of the connection.//// Possible values://   "STATE_UNSPECIFIED" - Default value. This value is unused.//   "CREATING" - Connection is being created.//   "CREATED" - Connection has been created.//   "UPDATING" - Connection's configuration is being updated.//   "DELETING" - Connection is being deleted.//   "DOWN" - Connection is down and may be restored in the future. This// happens when CCFE sends ProjectState = OFF.Statestring `json:"state,omitempty"`// Type: Required. The type of network connectivity used by the connection.//// Possible values://   "TYPE_UNSPECIFIED" - Default value. This value is unused.//   "TCP_PROXY" - TCP Proxy based BeyondCorp Connection. API will default to// this if unset.Typestring `json:"type,omitempty"`// Uid: Output only. A unique identifier for the instance generated by the// system.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. Timestamp when the resource was last modified.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "ApplicationEndpoint") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApplicationEndpoint") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Connection: A BeyondCorp Connection resource represents a BeyondCorpprotected connection to a remote application. It creates all the necessaryGCP components needed for creating a BeyondCorp protected connection.Multiple connectors can be authorised for a single Connection.

func (Connection)MarshalJSON

func (sConnection) MarshalJSON() ([]byte,error)

typeConnectionDetails

type ConnectionDetails struct {// Connection: A BeyondCorp Connection in the project.Connection *Connection `json:"connection,omitempty"`// RecentMigVms: If type=GCP_REGIONAL_MIG, contains most recent VM instances,// like// "https://www.googleapis.com/compute/v1/projects/{project_id}/zones/{zone_id}/// instances/{instance_id}".RecentMigVms []string `json:"recentMigVms,omitempty"`// ForceSendFields is a list of field names (e.g. "Connection") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Connection") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ConnectionDetails: Details of the Connection.

func (ConnectionDetails)MarshalJSON

func (sConnectionDetails) MarshalJSON() ([]byte,error)

typeConnectionOperationMetadata

type ConnectionOperationMetadata struct {// ApiVersion: Output only. API version used to start the operation.ApiVersionstring `json:"apiVersion,omitempty"`// CreateTime: Output only. The time the operation was created.CreateTimestring `json:"createTime,omitempty"`// EndTime: Output only. The time the operation finished running.EndTimestring `json:"endTime,omitempty"`// RequestedCancellation: Output only. Identifies whether the user has// requested cancellation of the operation. Operations that have successfully// been cancelled have Operation.error value with a google.rpc.Status.code of// 1, corresponding to `Code.CANCELLED`.RequestedCancellationbool `json:"requestedCancellation,omitempty"`// StatusMessage: Output only. Human-readable status of the operation, if any.StatusMessagestring `json:"statusMessage,omitempty"`// Target: Output only. Server-defined resource path for the target of the// operation.Targetstring `json:"target,omitempty"`// Verb: Output only. Name of the verb executed by the operation.Verbstring `json:"verb,omitempty"`// ForceSendFields is a list of field names (e.g. "ApiVersion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiVersion") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ConnectionOperationMetadata: Represents the metadata of the long-runningoperation.

func (ConnectionOperationMetadata)MarshalJSON

func (sConnectionOperationMetadata) MarshalJSON() ([]byte,error)

typeConnector

type Connector struct {// CreateTime: Output only. Timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// DisplayName: Optional. An arbitrary user-provided name for the connector.// Cannot exceed 64 characters.DisplayNamestring `json:"displayName,omitempty"`// Labels: Optional. Resource labels to represent user provided metadata.Labels map[string]string `json:"labels,omitempty"`// Name: Required. Unique resource name of the connector. The name is ignored// when creating a connector.Namestring `json:"name,omitempty"`// PrincipalInfo: Required. Principal information about the Identity of the// connector.PrincipalInfo *PrincipalInfo `json:"principalInfo,omitempty"`// ResourceInfo: Optional. Resource info of the connector.ResourceInfo *ResourceInfo `json:"resourceInfo,omitempty"`// State: Output only. The current state of the connector.//// Possible values://   "STATE_UNSPECIFIED" - Default value. This value is unused.//   "CREATING" - Connector is being created.//   "CREATED" - Connector has been created.//   "UPDATING" - Connector's configuration is being updated.//   "DELETING" - Connector is being deleted.//   "DOWN" - Connector is down and may be restored in the future. This happens// when CCFE sends ProjectState = OFF.Statestring `json:"state,omitempty"`// Uid: Output only. A unique identifier for the instance generated by the// system.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. Timestamp when the resource was last modified.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Connector: A BeyondCorp connector resource that represents an applicationfacing component deployed proximal to and with direct access to theapplication instances. It is used to establish connectivity between theremote enterprise environment and GCP. It initiates connections to theapplications and can proxy the data from users over the connection.

func (Connector)MarshalJSON

func (sConnector) MarshalJSON() ([]byte,error)

typeConnectorInstanceConfig

type ConnectorInstanceConfig struct {// ImageConfig: ImageConfig defines the GCR images to run for the remote// agent's control plane.ImageConfig *ImageConfig `json:"imageConfig,omitempty"`// InstanceConfig: The SLM instance agent configuration.InstanceConfiggoogleapi.RawMessage `json:"instanceConfig,omitempty"`// NotificationConfig: NotificationConfig defines the notification mechanism// that the remote instance should subscribe to in order to receive// notification.NotificationConfig *NotificationConfig `json:"notificationConfig,omitempty"`// SequenceNumber: Required. A monotonically increasing number generated and// maintained by the API provider. Every time a config changes in the backend,// the sequenceNumber should be bumped up to reflect the change.SequenceNumberint64 `json:"sequenceNumber,omitempty,string"`// ForceSendFields is a list of field names (e.g. "ImageConfig") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ImageConfig") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ConnectorInstanceConfig: ConnectorInstanceConfig defines the instance configof a connector.

func (ConnectorInstanceConfig)MarshalJSON

func (sConnectorInstanceConfig) MarshalJSON() ([]byte,error)

typeConnectorOperationMetadata

type ConnectorOperationMetadata struct {// ApiVersion: Output only. API version used to start the operation.ApiVersionstring `json:"apiVersion,omitempty"`// CreateTime: Output only. The time the operation was created.CreateTimestring `json:"createTime,omitempty"`// EndTime: Output only. The time the operation finished running.EndTimestring `json:"endTime,omitempty"`// RequestedCancellation: Output only. Identifies whether the user has// requested cancellation of the operation. Operations that have successfully// been cancelled have Operation.error value with a google.rpc.Status.code of// 1, corresponding to `Code.CANCELLED`.RequestedCancellationbool `json:"requestedCancellation,omitempty"`// StatusMessage: Output only. Human-readable status of the operation, if any.StatusMessagestring `json:"statusMessage,omitempty"`// Target: Output only. Server-defined resource path for the target of the// operation.Targetstring `json:"target,omitempty"`// Verb: Output only. Name of the verb executed by the operation.Verbstring `json:"verb,omitempty"`// ForceSendFields is a list of field names (e.g. "ApiVersion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiVersion") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ConnectorOperationMetadata: Represents the metadata of the long-runningoperation.

func (ConnectorOperationMetadata)MarshalJSON

func (sConnectorOperationMetadata) MarshalJSON() ([]byte,error)

typeContainerHealthDetails

type ContainerHealthDetails struct {// CurrentConfigVersion: The version of the current config.CurrentConfigVersionstring `json:"currentConfigVersion,omitempty"`// ErrorMsg: The latest error message.ErrorMsgstring `json:"errorMsg,omitempty"`// ExpectedConfigVersion: The version of the expected config.ExpectedConfigVersionstring `json:"expectedConfigVersion,omitempty"`// ExtendedStatus: The extended status. Such as ExitCode, StartedAt,// FinishedAt, etc.ExtendedStatus map[string]string `json:"extendedStatus,omitempty"`// ForceSendFields is a list of field names (e.g. "CurrentConfigVersion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CurrentConfigVersion") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ContainerHealthDetails: ContainerHealthDetails reflects the health detailsof a container.

func (ContainerHealthDetails)MarshalJSON

func (sContainerHealthDetails) MarshalJSON() ([]byte,error)

typeEmpty

type Empty struct {// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`}

Empty: A generic empty message that you can re-use to avoid definingduplicated empty messages in your APIs. A typical example is to use it asthe request or the response type of an API method. For instance: service Foo{ rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }

typeGateway

type Gateway struct {// Type: Required. The type of hosting used by the gateway.//// Possible values://   "TYPE_UNSPECIFIED" - Default value. This value is unused.//   "GCP_REGIONAL_MIG" - Gateway hosted in a GCP regional managed instance// group.Typestring `json:"type,omitempty"`// Uri: Output only. Server-defined URI for this resource.Uristring `json:"uri,omitempty"`// UserPort: Output only. User port reserved on the gateways for this// connection, if not specified or zero, the default port is 19443.UserPortint64 `json:"userPort,omitempty"`// ForceSendFields is a list of field names (e.g. "Type") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Type") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Gateway: Gateway represents a user facing component that serves as anentrance to enable connectivity.

func (Gateway)MarshalJSON

func (sGateway) MarshalJSON() ([]byte,error)

typeGoogleCloudBeyondcorpAppconnectionsV1AppConnectionOperationMetadataadded inv0.88.0

type GoogleCloudBeyondcorpAppconnectionsV1AppConnectionOperationMetadata struct {// ApiVersion: Output only. API version used to start the operation.ApiVersionstring `json:"apiVersion,omitempty"`// CreateTime: Output only. The time the operation was created.CreateTimestring `json:"createTime,omitempty"`// EndTime: Output only. The time the operation finished running.EndTimestring `json:"endTime,omitempty"`// RequestedCancellation: Output only. Identifies whether the user has// requested cancellation of the operation. Operations that have successfully// been cancelled have google.longrunning.Operation.error value with a// google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.RequestedCancellationbool `json:"requestedCancellation,omitempty"`// StatusMessage: Output only. Human-readable status of the operation, if any.StatusMessagestring `json:"statusMessage,omitempty"`// Target: Output only. Server-defined resource path for the target of the// operation.Targetstring `json:"target,omitempty"`// Verb: Output only. Name of the verb executed by the operation.Verbstring `json:"verb,omitempty"`// ForceSendFields is a list of field names (e.g. "ApiVersion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiVersion") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpAppconnectionsV1AppConnectionOperationMetadata:Represents the metadata of the long-running operation.

func (GoogleCloudBeyondcorpAppconnectionsV1AppConnectionOperationMetadata)MarshalJSONadded inv0.88.0

typeGoogleCloudBeyondcorpAppconnectionsV1alphaAppConnection

type GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnection struct {// ApplicationEndpoint: Required. Address of the remote application endpoint// for the BeyondCorp AppConnection.ApplicationEndpoint *GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpoint `json:"applicationEndpoint,omitempty"`// Connectors: Optional. List of// [google.cloud.beyondcorp.v1main.Connector.name] that are authorised to be// associated with this AppConnection.Connectors []string `json:"connectors,omitempty"`// CreateTime: Output only. Timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// DisplayName: Optional. An arbitrary user-provided name for the// AppConnection. Cannot exceed 64 characters.DisplayNamestring `json:"displayName,omitempty"`// Gateway: Optional. Gateway used by the AppConnection.Gateway *GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway `json:"gateway,omitempty"`// Labels: Optional. Resource labels to represent user provided metadata.Labels map[string]string `json:"labels,omitempty"`// Name: Required. Unique resource name of the AppConnection. The name is// ignored when creating a AppConnection.Namestring `json:"name,omitempty"`// SatisfiesPzi: Output only. Reserved for future use.SatisfiesPzibool `json:"satisfiesPzi,omitempty"`// SatisfiesPzs: Output only. Reserved for future use.SatisfiesPzsbool `json:"satisfiesPzs,omitempty"`// State: Output only. The current state of the AppConnection.//// Possible values://   "STATE_UNSPECIFIED" - Default value. This value is unused.//   "CREATING" - AppConnection is being created.//   "CREATED" - AppConnection has been created.//   "UPDATING" - AppConnection's configuration is being updated.//   "DELETING" - AppConnection is being deleted.//   "DOWN" - AppConnection is down and may be restored in the future. This// happens when CCFE sends ProjectState = OFF.Statestring `json:"state,omitempty"`// Type: Required. The type of network connectivity used by the AppConnection.//// Possible values://   "TYPE_UNSPECIFIED" - Default value. This value is unused.//   "TCP_PROXY" - TCP Proxy based BeyondCorp AppConnection. API will default// to this if unset.Typestring `json:"type,omitempty"`// Uid: Output only. A unique identifier for the instance generated by the// system.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. Timestamp when the resource was last modified.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "ApplicationEndpoint") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApplicationEndpoint") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnection: A BeyondCorpAppConnection resource represents a BeyondCorp protected AppConnection to aremote application. It creates all the necessary GCP components needed forcreating a BeyondCorp protected AppConnection. Multiple connectors can beauthorised for a single AppConnection.

func (GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnection)MarshalJSON

typeGoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpoint

type GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpoint struct {// Host: Required. Hostname or IP address of the remote application endpoint.Hoststring `json:"host,omitempty"`// Port: Required. Port of the remote application endpoint.Portint64 `json:"port,omitempty"`// ForceSendFields is a list of field names (e.g. "Host") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Host") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpoint:ApplicationEndpoint represents a remote application endpoint.

func (GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionApplicationEndpoint)MarshalJSON

typeGoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway

type GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway struct {// AppGateway: Required. AppGateway name in following format:// `projects/{project_id}/locations/{location_id}/appgateways/{gateway_id}`AppGatewaystring `json:"appGateway,omitempty"`// IngressPort: Output only. Ingress port reserved on the gateways for this// AppConnection, if not specified or zero, the default port is 19443.IngressPortint64 `json:"ingressPort,omitempty"`// L7psc: Output only. L7 private service connection for this resource.L7pscstring `json:"l7psc,omitempty"`// Type: Required. The type of hosting used by the gateway.//// Possible values://   "TYPE_UNSPECIFIED" - Default value. This value is unused.//   "GCP_REGIONAL_MIG" - Gateway hosted in a GCP regional managed instance// group.Typestring `json:"type,omitempty"`// Uri: Output only. Server-defined URI for this resource.Uristring `json:"uri,omitempty"`// ForceSendFields is a list of field names (e.g. "AppGateway") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AppGateway") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway: Gatewayrepresents a user facing component that serves as an entrance to enableconnectivity.

func (GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionGateway)MarshalJSON

typeGoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionOperationMetadata

type GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionOperationMetadata struct {// ApiVersion: Output only. API version used to start the operation.ApiVersionstring `json:"apiVersion,omitempty"`// CreateTime: Output only. The time the operation was created.CreateTimestring `json:"createTime,omitempty"`// EndTime: Output only. The time the operation finished running.EndTimestring `json:"endTime,omitempty"`// RequestedCancellation: Output only. Identifies whether the user has// requested cancellation of the operation. Operations that have successfully// been cancelled have google.longrunning.Operation.error value with a// google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.RequestedCancellationbool `json:"requestedCancellation,omitempty"`// StatusMessage: Output only. Human-readable status of the operation, if any.StatusMessagestring `json:"statusMessage,omitempty"`// Target: Output only. Server-defined resource path for the target of the// operation.Targetstring `json:"target,omitempty"`// Verb: Output only. Name of the verb executed by the operation.Verbstring `json:"verb,omitempty"`// ForceSendFields is a list of field names (e.g. "ApiVersion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiVersion") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionOperationMetadata:Represents the metadata of the long-running operation.

func (GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnectionOperationMetadata)MarshalJSON

typeGoogleCloudBeyondcorpAppconnectionsV1alphaListAppConnectionsResponse

type GoogleCloudBeyondcorpAppconnectionsV1alphaListAppConnectionsResponse struct {// AppConnections: A list of BeyondCorp AppConnections in the project.AppConnections []*GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnection `json:"appConnections,omitempty"`// NextPageToken: A token to retrieve the next page of results, or empty if// there are no more results in the list.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: A list of locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AppConnections") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AppConnections") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpAppconnectionsV1alphaListAppConnectionsResponse:Response message for BeyondCorp.ListAppConnections.

func (GoogleCloudBeyondcorpAppconnectionsV1alphaListAppConnectionsResponse)MarshalJSON

typeGoogleCloudBeyondcorpAppconnectionsV1alphaResolveAppConnectionsResponse

type GoogleCloudBeyondcorpAppconnectionsV1alphaResolveAppConnectionsResponse struct {// AppConnectionDetails: A list of BeyondCorp AppConnections with details in// the project.AppConnectionDetails []*GoogleCloudBeyondcorpAppconnectionsV1alphaResolveAppConnectionsResponseAppConnectionDetails `json:"appConnectionDetails,omitempty"`// NextPageToken: A token to retrieve the next page of results, or empty if// there are no more results in the list.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: A list of locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AppConnectionDetails") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AppConnectionDetails") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpAppconnectionsV1alphaResolveAppConnectionsResponse:Response message for BeyondCorp.ResolveAppConnections.

func (GoogleCloudBeyondcorpAppconnectionsV1alphaResolveAppConnectionsResponse)MarshalJSON

typeGoogleCloudBeyondcorpAppconnectionsV1alphaResolveAppConnectionsResponseAppConnectionDetails

type GoogleCloudBeyondcorpAppconnectionsV1alphaResolveAppConnectionsResponseAppConnectionDetails struct {// AppConnection: A BeyondCorp AppConnection in the project.AppConnection *GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnection `json:"appConnection,omitempty"`// RecentMigVms: If type=GCP_REGIONAL_MIG, contains most recent VM instances,// like// `https://www.googleapis.com/compute/v1/projects/{project_id}/zones/{zone_id}/// instances/{instance_id}`.RecentMigVms []string `json:"recentMigVms,omitempty"`// ForceSendFields is a list of field names (e.g. "AppConnection") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AppConnection") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpAppconnectionsV1alphaResolveAppConnectionsResponseAppConnectionDetails: Details of the AppConnection.

func (GoogleCloudBeyondcorpAppconnectionsV1alphaResolveAppConnectionsResponseAppConnectionDetails)MarshalJSON

typeGoogleCloudBeyondcorpAppconnectorsV1AppConnectorOperationMetadataadded inv0.88.0

type GoogleCloudBeyondcorpAppconnectorsV1AppConnectorOperationMetadata struct {// ApiVersion: Output only. API version used to start the operation.ApiVersionstring `json:"apiVersion,omitempty"`// CreateTime: Output only. The time the operation was created.CreateTimestring `json:"createTime,omitempty"`// EndTime: Output only. The time the operation finished running.EndTimestring `json:"endTime,omitempty"`// RequestedCancellation: Output only. Identifies whether the user has// requested cancellation of the operation. Operations that have successfully// been cancelled have google.longrunning.Operation.error value with a// google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.RequestedCancellationbool `json:"requestedCancellation,omitempty"`// StatusMessage: Output only. Human-readable status of the operation, if any.StatusMessagestring `json:"statusMessage,omitempty"`// Target: Output only. Server-defined resource path for the target of the// operation.Targetstring `json:"target,omitempty"`// Verb: Output only. Name of the verb executed by the operation.Verbstring `json:"verb,omitempty"`// ForceSendFields is a list of field names (e.g. "ApiVersion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiVersion") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpAppconnectorsV1AppConnectorOperationMetadata:Represents the metadata of the long-running operation.

func (GoogleCloudBeyondcorpAppconnectorsV1AppConnectorOperationMetadata)MarshalJSONadded inv0.88.0

typeGoogleCloudBeyondcorpAppconnectorsV1ContainerHealthDetailsadded inv0.88.0

type GoogleCloudBeyondcorpAppconnectorsV1ContainerHealthDetails struct {// CurrentConfigVersion: The version of the current config.CurrentConfigVersionstring `json:"currentConfigVersion,omitempty"`// ErrorMsg: The latest error message.ErrorMsgstring `json:"errorMsg,omitempty"`// ExpectedConfigVersion: The version of the expected config.ExpectedConfigVersionstring `json:"expectedConfigVersion,omitempty"`// ExtendedStatus: The extended status. Such as ExitCode, StartedAt,// FinishedAt, etc.ExtendedStatus map[string]string `json:"extendedStatus,omitempty"`// ForceSendFields is a list of field names (e.g. "CurrentConfigVersion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CurrentConfigVersion") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpAppconnectorsV1ContainerHealthDetails:ContainerHealthDetails reflects the health details of a container.

func (GoogleCloudBeyondcorpAppconnectorsV1ContainerHealthDetails)MarshalJSONadded inv0.88.0

typeGoogleCloudBeyondcorpAppconnectorsV1RemoteAgentDetailsadded inv0.88.0

type GoogleCloudBeyondcorpAppconnectorsV1RemoteAgentDetails struct {}

GoogleCloudBeyondcorpAppconnectorsV1RemoteAgentDetails: RemoteAgentDetailsreflects the details of a remote agent.

typeGoogleCloudBeyondcorpAppconnectorsV1alphaAppConnector

type GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnector struct {// CreateTime: Output only. Timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// DisplayName: Optional. An arbitrary user-provided name for the AppConnector.// Cannot exceed 64 characters.DisplayNamestring `json:"displayName,omitempty"`// Labels: Optional. Resource labels to represent user provided metadata.Labels map[string]string `json:"labels,omitempty"`// Name: Required. Unique resource name of the AppConnector. The name is// ignored when creating a AppConnector.Namestring `json:"name,omitempty"`// PrincipalInfo: Required. Principal information about the Identity of the// AppConnector.PrincipalInfo *GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfo `json:"principalInfo,omitempty"`// ResourceInfo: Optional. Resource info of the connector.ResourceInfo *GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo `json:"resourceInfo,omitempty"`// State: Output only. The current state of the AppConnector.//// Possible values://   "STATE_UNSPECIFIED" - Default value. This value is unused.//   "CREATING" - AppConnector is being created.//   "CREATED" - AppConnector has been created.//   "UPDATING" - AppConnector's configuration is being updated.//   "DELETING" - AppConnector is being deleted.//   "DOWN" - AppConnector is down and may be restored in the future. This// happens when CCFE sends ProjectState = OFF.Statestring `json:"state,omitempty"`// Uid: Output only. A unique identifier for the instance generated by the// system.Uidstring `json:"uid,omitempty"`// UpdateTime: Output only. Timestamp when the resource was last modified.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnector: A BeyondCorpconnector resource that represents an application facing component deployedproximal to and with direct access to the application instances. It is usedto establish connectivity between the remote enterprise environment and GCP.It initiates connections to the applications and can proxy the data fromusers over the connection.

func (GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnector)MarshalJSON

typeGoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorInstanceConfig

type GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorInstanceConfig struct {// ImageConfig: ImageConfig defines the GCR images to run for the remote// agent's control plane.ImageConfig *GoogleCloudBeyondcorpAppconnectorsV1alphaImageConfig `json:"imageConfig,omitempty"`// InstanceConfig: The SLM instance agent configuration.InstanceConfiggoogleapi.RawMessage `json:"instanceConfig,omitempty"`// NotificationConfig: NotificationConfig defines the notification mechanism// that the remote instance should subscribe to in order to receive// notification.NotificationConfig *GoogleCloudBeyondcorpAppconnectorsV1alphaNotificationConfig `json:"notificationConfig,omitempty"`// SequenceNumber: Required. A monotonically increasing number generated and// maintained by the API provider. Every time a config changes in the backend,// the sequenceNumber should be bumped up to reflect the change.SequenceNumberint64 `json:"sequenceNumber,omitempty,string"`// ForceSendFields is a list of field names (e.g. "ImageConfig") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ImageConfig") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorInstanceConfig:AppConnectorInstanceConfig defines the instance config of a AppConnector.

func (GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorInstanceConfig)MarshalJSON

typeGoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorOperationMetadata

type GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorOperationMetadata struct {// ApiVersion: Output only. API version used to start the operation.ApiVersionstring `json:"apiVersion,omitempty"`// CreateTime: Output only. The time the operation was created.CreateTimestring `json:"createTime,omitempty"`// EndTime: Output only. The time the operation finished running.EndTimestring `json:"endTime,omitempty"`// RequestedCancellation: Output only. Identifies whether the user has// requested cancellation of the operation. Operations that have successfully// been cancelled have google.longrunning.Operation.error value with a// google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.RequestedCancellationbool `json:"requestedCancellation,omitempty"`// StatusMessage: Output only. Human-readable status of the operation, if any.StatusMessagestring `json:"statusMessage,omitempty"`// Target: Output only. Server-defined resource path for the target of the// operation.Targetstring `json:"target,omitempty"`// Verb: Output only. Name of the verb executed by the operation.Verbstring `json:"verb,omitempty"`// ForceSendFields is a list of field names (e.g. "ApiVersion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiVersion") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorOperationMetadata:Represents the metadata of the long-running operation.

func (GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorOperationMetadata)MarshalJSON

typeGoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfo

type GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfo struct {// ServiceAccount: A GCP service account.ServiceAccount *GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccount `json:"serviceAccount,omitempty"`// ForceSendFields is a list of field names (e.g. "ServiceAccount") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ServiceAccount") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfo:PrincipalInfo represents an Identity oneof.

func (GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfo)MarshalJSON

typeGoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccount

type GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccount struct {// Email: Email address of the service account.Emailstring `json:"email,omitempty"`// ForceSendFields is a list of field names (e.g. "Email") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Email") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccount: ServiceAccount represents a GCP service account.

func (GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorPrincipalInfoServiceAccount)MarshalJSON

typeGoogleCloudBeyondcorpAppconnectorsV1alphaContainerHealthDetailsadded inv0.86.0

type GoogleCloudBeyondcorpAppconnectorsV1alphaContainerHealthDetails struct {// CurrentConfigVersion: The version of the current config.CurrentConfigVersionstring `json:"currentConfigVersion,omitempty"`// ErrorMsg: The latest error message.ErrorMsgstring `json:"errorMsg,omitempty"`// ExpectedConfigVersion: The version of the expected config.ExpectedConfigVersionstring `json:"expectedConfigVersion,omitempty"`// ExtendedStatus: The extended status. Such as ExitCode, StartedAt,// FinishedAt, etc.ExtendedStatus map[string]string `json:"extendedStatus,omitempty"`// ForceSendFields is a list of field names (e.g. "CurrentConfigVersion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CurrentConfigVersion") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpAppconnectorsV1alphaContainerHealthDetails:ContainerHealthDetails reflects the health details of a container.

func (GoogleCloudBeyondcorpAppconnectorsV1alphaContainerHealthDetails)MarshalJSONadded inv0.86.0

typeGoogleCloudBeyondcorpAppconnectorsV1alphaImageConfig

type GoogleCloudBeyondcorpAppconnectorsV1alphaImageConfig struct {// StableImage: The stable image that the remote agent will fallback to if the// target image fails. Format would be a gcr image path, e.g.:// gcr.io/PROJECT-ID/my-image:tag1StableImagestring `json:"stableImage,omitempty"`// TargetImage: The initial image the remote agent will attempt to run for the// control plane. Format would be a gcr image path, e.g.:// gcr.io/PROJECT-ID/my-image:tag1TargetImagestring `json:"targetImage,omitempty"`// ForceSendFields is a list of field names (e.g. "StableImage") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "StableImage") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpAppconnectorsV1alphaImageConfig: ImageConfig definesthe control plane images to run.

func (GoogleCloudBeyondcorpAppconnectorsV1alphaImageConfig)MarshalJSON

typeGoogleCloudBeyondcorpAppconnectorsV1alphaListAppConnectorsResponse

type GoogleCloudBeyondcorpAppconnectorsV1alphaListAppConnectorsResponse struct {// AppConnectors: A list of BeyondCorp AppConnectors in the project.AppConnectors []*GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnector `json:"appConnectors,omitempty"`// NextPageToken: A token to retrieve the next page of results, or empty if// there are no more results in the list.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: A list of locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AppConnectors") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AppConnectors") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpAppconnectorsV1alphaListAppConnectorsResponse: Responsemessage for BeyondCorp.ListAppConnectors.

func (GoogleCloudBeyondcorpAppconnectorsV1alphaListAppConnectorsResponse)MarshalJSON

typeGoogleCloudBeyondcorpAppconnectorsV1alphaNotificationConfig

type GoogleCloudBeyondcorpAppconnectorsV1alphaNotificationConfig struct {// PubsubNotification: Cloud Pub/Sub Configuration to receive notifications.PubsubNotification *GoogleCloudBeyondcorpAppconnectorsV1alphaNotificationConfigCloudPubSubNotificationConfig `json:"pubsubNotification,omitempty"`// ForceSendFields is a list of field names (e.g. "PubsubNotification") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "PubsubNotification") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpAppconnectorsV1alphaNotificationConfig:NotificationConfig defines the mechanisms to notify instance agent.

func (GoogleCloudBeyondcorpAppconnectorsV1alphaNotificationConfig)MarshalJSON

typeGoogleCloudBeyondcorpAppconnectorsV1alphaNotificationConfigCloudPubSubNotificationConfig

type GoogleCloudBeyondcorpAppconnectorsV1alphaNotificationConfigCloudPubSubNotificationConfig struct {// PubsubSubscription: The Pub/Sub subscription the AppConnector uses to// receive notifications.PubsubSubscriptionstring `json:"pubsubSubscription,omitempty"`// ForceSendFields is a list of field names (e.g. "PubsubSubscription") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "PubsubSubscription") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpAppconnectorsV1alphaNotificationConfigCloudPubSubNotificationConfig: The configuration for Pub/Sub messaging for the AppConnector.

func (GoogleCloudBeyondcorpAppconnectorsV1alphaNotificationConfigCloudPubSubNotificationConfig)MarshalJSON

typeGoogleCloudBeyondcorpAppconnectorsV1alphaRemoteAgentDetailsadded inv0.86.0

type GoogleCloudBeyondcorpAppconnectorsV1alphaRemoteAgentDetails struct {}

GoogleCloudBeyondcorpAppconnectorsV1alphaRemoteAgentDetails:RemoteAgentDetails reflects the details of a remote agent.

typeGoogleCloudBeyondcorpAppconnectorsV1alphaReportStatusRequest

type GoogleCloudBeyondcorpAppconnectorsV1alphaReportStatusRequest struct {// RequestId: Optional. An optional request ID to identify requests. Specify a// unique request ID so that if you must retry your request, the server will// know to ignore the request if it has already been completed. The server will// guarantee that for at least 60 minutes since the first request. For example,// consider a situation where you make an initial request and the request times// out. If you make the request again with the same request ID, the server can// check if original operation with the same request ID was received, and if// so, will ignore the second request. This prevents clients from accidentally// creating duplicate commitments. The request ID must be a valid UUID with the// exception that zero UUID is not supported// (00000000-0000-0000-0000-000000000000).RequestIdstring `json:"requestId,omitempty"`// ResourceInfo: Required. Resource info of the connector.ResourceInfo *GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo `json:"resourceInfo,omitempty"`// ValidateOnly: Optional. If set, validates request by executing a dry-run// which would not alter the resource in any way.ValidateOnlybool `json:"validateOnly,omitempty"`// ForceSendFields is a list of field names (e.g. "RequestId") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "RequestId") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpAppconnectorsV1alphaReportStatusRequest: Request reportthe connector status.

func (GoogleCloudBeyondcorpAppconnectorsV1alphaReportStatusRequest)MarshalJSON

typeGoogleCloudBeyondcorpAppconnectorsV1alphaResolveInstanceConfigResponse

type GoogleCloudBeyondcorpAppconnectorsV1alphaResolveInstanceConfigResponse struct {// InstanceConfig: AppConnectorInstanceConfig.InstanceConfig *GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnectorInstanceConfig `json:"instanceConfig,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "InstanceConfig") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "InstanceConfig") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpAppconnectorsV1alphaResolveInstanceConfigResponse:Response message for BeyondCorp.ResolveInstanceConfig.

func (GoogleCloudBeyondcorpAppconnectorsV1alphaResolveInstanceConfigResponse)MarshalJSON

typeGoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo

type GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo struct {// Id: Required. Unique Id for the resource.Idstring `json:"id,omitempty"`// Resource: Specific details for the resource. This is for internal use only.Resourcegoogleapi.RawMessage `json:"resource,omitempty"`// Status: Overall health status. Overall status is derived based on the status// of each sub level resources.//// Possible values://   "HEALTH_STATUS_UNSPECIFIED" - Health status is unknown: not initialized or// failed to retrieve.//   "HEALTHY" - The resource is healthy.//   "UNHEALTHY" - The resource is unhealthy.//   "UNRESPONSIVE" - The resource is unresponsive.//   "DEGRADED" - Some sub-resources are UNHEALTHY.Statusstring `json:"status,omitempty"`// Sub: List of Info for the sub level resources.Sub []*GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo `json:"sub,omitempty"`// Time: The timestamp to collect the info. It is suggested to be set by the// topmost level resource only.Timestring `json:"time,omitempty"`// ForceSendFields is a list of field names (e.g. "Id") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Id") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo: ResourceInforepresents the information/status of an app connector resource. Such as: -remote_agent - container - runtime - appgateway - appconnector -appconnection - tunnel - logagent

func (GoogleCloudBeyondcorpAppconnectorsV1alphaResourceInfo)MarshalJSON

typeGoogleCloudBeyondcorpAppgatewaysV1AppGatewayOperationMetadataadded inv0.88.0

type GoogleCloudBeyondcorpAppgatewaysV1AppGatewayOperationMetadata struct {// ApiVersion: Output only. API version used to start the operation.ApiVersionstring `json:"apiVersion,omitempty"`// CreateTime: Output only. The time the operation was created.CreateTimestring `json:"createTime,omitempty"`// EndTime: Output only. The time the operation finished running.EndTimestring `json:"endTime,omitempty"`// RequestedCancellation: Output only. Identifies whether the user has// requested cancellation of the operation. Operations that have successfully// been cancelled have google.longrunning.Operation.error value with a// google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.RequestedCancellationbool `json:"requestedCancellation,omitempty"`// StatusMessage: Output only. Human-readable status of the operation, if any.StatusMessagestring `json:"statusMessage,omitempty"`// Target: Output only. Server-defined resource path for the target of the// operation.Targetstring `json:"target,omitempty"`// Verb: Output only. Name of the verb executed by the operation.Verbstring `json:"verb,omitempty"`// ForceSendFields is a list of field names (e.g. "ApiVersion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiVersion") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpAppgatewaysV1AppGatewayOperationMetadata: Representsthe metadata of the long-running operation.

func (GoogleCloudBeyondcorpAppgatewaysV1AppGatewayOperationMetadata)MarshalJSONadded inv0.88.0

typeGoogleCloudBeyondcorpPartnerservicesV1alphaGroupadded inv0.125.0

type GoogleCloudBeyondcorpPartnerservicesV1alphaGroup struct {// Email: The group email idEmailstring `json:"email,omitempty"`// Id: Google group idIdstring `json:"id,omitempty"`// ForceSendFields is a list of field names (e.g. "Email") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Email") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpPartnerservicesV1alphaGroup: Message to capture groupinformation

func (GoogleCloudBeyondcorpPartnerservicesV1alphaGroup)MarshalJSONadded inv0.125.0

typeGoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponseadded inv0.125.0

type GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponse struct {// NextPageToken: A token to retrieve the next page of results, or empty if// there are no more results in the list.NextPageTokenstring `json:"nextPageToken,omitempty"`// PartnerTenants: The list of PartnerTenant objects.PartnerTenants []*GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant `json:"partnerTenants,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponse:Message for response to listing PartnerTenants.

func (GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponse)MarshalJSONadded inv0.125.0

typeGoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadataadded inv0.122.0

type GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata struct {// InternalTenantId: Optional. UUID used by the Partner to refer to the// PartnerTenant in their internal systems.InternalTenantIdstring `json:"internalTenantId,omitempty"`// PartnerTenantId: Optional. UUID used by the Partner to refer to the// PartnerTenant in their internal systems.PartnerTenantIdstring `json:"partnerTenantId,omitempty"`// ForceSendFields is a list of field names (e.g. "InternalTenantId") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "InternalTenantId") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata: Metadataassociated with PartnerTenant and is provided by the Partner.

func (GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata)MarshalJSONadded inv0.122.0

typeGoogleCloudBeyondcorpPartnerservicesV1alphaPartnerServiceOperationMetadataadded inv0.122.0

type GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerServiceOperationMetadata struct {// ApiVersion: Output only. API version used to start the operation.ApiVersionstring `json:"apiVersion,omitempty"`// CreateTime: Output only. The time the operation was created.CreateTimestring `json:"createTime,omitempty"`// EndTime: Output only. The time the operation finished running.EndTimestring `json:"endTime,omitempty"`// RequestedCancellation: Output only. Identifies whether the caller has// requested cancellation of the operation. Operations that have successfully// been cancelled have Operation.error value with a google.rpc.Status.code of// 1, corresponding to `Code.CANCELLED`.RequestedCancellationbool `json:"requestedCancellation,omitempty"`// StatusMessage: Output only. Human-readable status of the operation, if any.StatusMessagestring `json:"statusMessage,omitempty"`// Target: Output only. Server-defined resource path for the target of the// operation.Targetstring `json:"target,omitempty"`// Verb: Output only. Name of the verb executed by the operation.Verbstring `json:"verb,omitempty"`// ForceSendFields is a list of field names (e.g. "ApiVersion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiVersion") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerServiceOperationMetadata:Represents the metadata of the long-running operation.

func (GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerServiceOperationMetadata)MarshalJSONadded inv0.122.0

typeGoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenantadded inv0.124.0

type GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant struct {// CreateTime: Output only. Timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// DisplayName: Optional. An arbitrary caller-provided name for the// PartnerTenant. Cannot exceed 64 characters.DisplayNamestring `json:"displayName,omitempty"`// Group: Optional. Group information for the users enabled to use the// partnerTenant. If the group information is not provided then the// partnerTenant will be enabled for all users.Group *GoogleCloudBeyondcorpPartnerservicesV1alphaGroup `json:"group,omitempty"`// Name: Output only. Unique resource name of the PartnerTenant. The name is// ignored when creating PartnerTenant.Namestring `json:"name,omitempty"`// PartnerMetadata: Optional. Metadata provided by the Partner associated with// PartnerTenant.PartnerMetadata *GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerMetadata `json:"partnerMetadata,omitempty"`// UpdateTime: Output only. Timestamp when the resource was last modified.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant: Information abouta BeyoncCorp Enterprise PartnerTenant.

func (GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant)MarshalJSONadded inv0.124.0

typeGoogleCloudBeyondcorpPartnerservicesV1mainPartnerServiceOperationMetadataadded inv0.122.0

type GoogleCloudBeyondcorpPartnerservicesV1mainPartnerServiceOperationMetadata struct {// ApiVersion: Output only. API version used to start the operation.ApiVersionstring `json:"apiVersion,omitempty"`// CreateTime: Output only. The time the operation was created.CreateTimestring `json:"createTime,omitempty"`// EndTime: Output only. The time the operation finished running.EndTimestring `json:"endTime,omitempty"`// RequestedCancellation: Output only. Identifies whether the caller has// requested cancellation of the operation. Operations that have successfully// been cancelled have Operation.error value with a google.rpc.Status.code of// 1, corresponding to `Code.CANCELLED`.RequestedCancellationbool `json:"requestedCancellation,omitempty"`// StatusMessage: Output only. Human-readable status of the operation, if any.StatusMessagestring `json:"statusMessage,omitempty"`// Target: Output only. Server-defined resource path for the target of the// operation.Targetstring `json:"target,omitempty"`// Verb: Output only. Name of the verb executed by the operation.Verbstring `json:"verb,omitempty"`// ForceSendFields is a list of field names (e.g. "ApiVersion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiVersion") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpPartnerservicesV1mainPartnerServiceOperationMetadata:Represents the metadata of the long-running operation.

func (GoogleCloudBeyondcorpPartnerservicesV1mainPartnerServiceOperationMetadata)MarshalJSONadded inv0.122.0

typeGoogleCloudBeyondcorpSaasplatformInsightsV1alphaAppliedConfigadded inv0.92.0

type GoogleCloudBeyondcorpSaasplatformInsightsV1alphaAppliedConfig struct {// Aggregation: Output only. Aggregation type applied.//// Possible values://   "AGGREGATION_UNSPECIFIED" - Unspecified.//   "HOURLY" - Insight should be aggregated at hourly level.//   "DAILY" - Insight should be aggregated at daily level.//   "WEEKLY" - Insight should be aggregated at weekly level.//   "MONTHLY" - Insight should be aggregated at monthly level.//   "CUSTOM_DATE_RANGE" - Insight should be aggregated at the custom date// range passed in as the start and end time in the request.Aggregationstring `json:"aggregation,omitempty"`// CustomGrouping: Output only. Customised grouping applied.CustomGrouping *GoogleCloudBeyondcorpSaasplatformInsightsV1alphaCustomGrouping `json:"customGrouping,omitempty"`// EndTime: Output only. Ending time for the duration for which insight was// pulled.EndTimestring `json:"endTime,omitempty"`// FieldFilter: Output only. Filters applied.FieldFilterstring `json:"fieldFilter,omitempty"`// Group: Output only. Group id of the grouping applied.Groupstring `json:"group,omitempty"`// StartTime: Output only. Starting time for the duration for which insight was// pulled.StartTimestring `json:"startTime,omitempty"`// ForceSendFields is a list of field names (e.g. "Aggregation") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Aggregation") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSaasplatformInsightsV1alphaAppliedConfig: Theconfiguration that was applied to generate the result.

func (GoogleCloudBeyondcorpSaasplatformInsightsV1alphaAppliedConfig)MarshalJSONadded inv0.92.0

typeGoogleCloudBeyondcorpSaasplatformInsightsV1alphaConfiguredInsightResponseadded inv0.92.0

type GoogleCloudBeyondcorpSaasplatformInsightsV1alphaConfiguredInsightResponse struct {// AppliedConfig: Output only. Applied insight config to generate the result// data rows.AppliedConfig *GoogleCloudBeyondcorpSaasplatformInsightsV1alphaAppliedConfig `json:"appliedConfig,omitempty"`// NextPageToken: Output only. Next page token to be fetched. Set to empty or// NULL if there are no more pages available.NextPageTokenstring `json:"nextPageToken,omitempty"`// Rows: Output only. Result rows returned containing the required value(s) for// configured insight.Rows []*GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRow `json:"rows,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AppliedConfig") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AppliedConfig") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSaasplatformInsightsV1alphaConfiguredInsightResponse:The response for the configured insight.

func (GoogleCloudBeyondcorpSaasplatformInsightsV1alphaConfiguredInsightResponse)MarshalJSONadded inv0.92.0

typeGoogleCloudBeyondcorpSaasplatformInsightsV1alphaCustomGroupingadded inv0.92.0

type GoogleCloudBeyondcorpSaasplatformInsightsV1alphaCustomGrouping struct {// FieldFilter: Optional. Filterable parameters to be added to the grouping// clause. Available fields could be fetched by calling insight list and get// APIs in `BASIC` view. `=` is the only comparison operator supported. `AND`// is the only logical operator supported. Usage:// field_filter="fieldName1=fieldVal1 AND fieldName2=fieldVal2". NOTE: Only// `AND` conditions are allowed. NOTE: Use the `filter_alias` from// `Insight.Metadata.Field` message for the filtering the corresponding fields// in this filter field. (These expressions are based on the filter language// described athttps://google.aip.dev/160).FieldFilterstring `json:"fieldFilter,omitempty"`// GroupFields: Required. Fields to be used for grouping. NOTE: Use the// `filter_alias` from `Insight.Metadata.Field` message for declaring the// fields to be grouped-by here.GroupFields []string `json:"groupFields,omitempty"`// ForceSendFields is a list of field names (e.g. "FieldFilter") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "FieldFilter") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSaasplatformInsightsV1alphaCustomGrouping: Customisedgrouping option that allows setting the group_by fields and also the filterstogather for a configured insight request.

func (GoogleCloudBeyondcorpSaasplatformInsightsV1alphaCustomGrouping)MarshalJSONadded inv0.92.0

typeGoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightadded inv0.92.0

type GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight struct {// AppliedConfig: Output only. Applied insight config to generate the result// data rows.AppliedConfig *GoogleCloudBeyondcorpSaasplatformInsightsV1alphaAppliedConfig `json:"appliedConfig,omitempty"`// Metadata: Output only. Metadata for the Insight.Metadata *GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadata `json:"metadata,omitempty"`// Name: Output only. The insight resource name. e.g.// `organizations/{organization_id}/locations/{location_id}/insights/{insight_id// }` OR `projects/{project_id}/locations/{location_id}/insights/{insight_id}`.Namestring `json:"name,omitempty"`// Rows: Output only. Result rows returned containing the required value(s).Rows []*GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRow `json:"rows,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AppliedConfig") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AppliedConfig") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight: The Insight objectwith configuration that was returned and actual list of records.

func (GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight)MarshalJSONadded inv0.92.0

typeGoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadataadded inv0.92.0

type GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadata struct {// Aggregations: Output only. List of aggregation types available for insight.//// Possible values://   "AGGREGATION_UNSPECIFIED" - Unspecified.//   "HOURLY" - Insight should be aggregated at hourly level.//   "DAILY" - Insight should be aggregated at daily level.//   "WEEKLY" - Insight should be aggregated at weekly level.//   "MONTHLY" - Insight should be aggregated at monthly level.//   "CUSTOM_DATE_RANGE" - Insight should be aggregated at the custom date// range passed in as the start and end time in the request.Aggregations []string `json:"aggregations,omitempty"`// Category: Output only. Category of the insight.Categorystring `json:"category,omitempty"`// DisplayName: Output only. Common name of the insight.DisplayNamestring `json:"displayName,omitempty"`// Fields: Output only. List of fields available for insight.Fields []*GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadataField `json:"fields,omitempty"`// Groups: Output only. List of groupings available for insight.Groups []string `json:"groups,omitempty"`// SubCategory: Output only. Sub-Category of the insight.SubCategorystring `json:"subCategory,omitempty"`// Type: Output only. Type of the insight. It is metadata describing whether// the insight is a metric (e.g. count) or a report (e.g. list, status).Typestring `json:"type,omitempty"`// ForceSendFields is a list of field names (e.g. "Aggregations") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Aggregations") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadata: Insightfilters, groupings and aggregations that can be applied for the insight.Examples: aggregations, groups, field filters.

func (GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadata)MarshalJSONadded inv0.92.0

typeGoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadataFieldadded inv0.92.0

type GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadataField struct {// Description: Output only. Description of the field.Descriptionstring `json:"description,omitempty"`// DisplayName: Output only. Name of the field.DisplayNamestring `json:"displayName,omitempty"`// FilterAlias: Output only. Field name to be used in filter while requesting// configured insight filtered on this field.FilterAliasstring `json:"filterAlias,omitempty"`// Filterable: Output only. Indicates whether the field can be used for// filtering.Filterablebool `json:"filterable,omitempty"`// Groupable: Output only. Indicates whether the field can be used for grouping// in custom grouping request.Groupablebool `json:"groupable,omitempty"`// Id: Output only. Field id for which this is the metadata.Idstring `json:"id,omitempty"`// ForceSendFields is a list of field names (e.g. "Description") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Description") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadataField: Fieldmetadata. Commonly understandable name and description for the field.Multiple such fields constitute the Insight.

func (GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsightMetadataField)MarshalJSONadded inv0.92.0

typeGoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponseadded inv0.92.0

type GoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponse struct {// Insights: Output only. List of all insights.Insights []*GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight `json:"insights,omitempty"`// NextPageToken: Output only. Next page token to be fetched. Set to empty or// NULL if there are no more pages available.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Insights") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Insights") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponse: Theresponse for the list of insights.

func (GoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponse)MarshalJSONadded inv0.92.0

typeGoogleCloudBeyondcorpSaasplatformInsightsV1alphaRowadded inv0.92.0

type GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRow struct {// FieldValues: Output only. Columns/entries/key-vals in the result.FieldValues []*GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRowFieldVal `json:"fieldValues,omitempty"`// ForceSendFields is a list of field names (e.g. "FieldValues") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "FieldValues") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRow: Row of the fetchresponse consisting of a set of entries.

func (GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRow)MarshalJSONadded inv0.92.0

typeGoogleCloudBeyondcorpSaasplatformInsightsV1alphaRowFieldValadded inv0.92.0

type GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRowFieldVal struct {// DisplayName: Output only. Name of the field.DisplayNamestring `json:"displayName,omitempty"`// FilterAlias: Output only. Field name to be used in filter while requesting// configured insight filtered on this field.FilterAliasstring `json:"filterAlias,omitempty"`// Id: Output only. Field id.Idstring `json:"id,omitempty"`// Value: Output only. Value of the field in string format. Acceptable values// are strings or numbers.Valuestring `json:"value,omitempty"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRowFieldVal: Column or keyvalue pair from the request as part of key to use in query or a single pairof the fetch response.

func (GoogleCloudBeyondcorpSaasplatformInsightsV1alphaRowFieldVal)MarshalJSONadded inv0.92.0

typeGoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaCancelSubscriptionResponseadded inv0.178.0

type GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaCancelSubscriptionResponse struct {// EffectiveCancellationTime: Time when the cancellation will become effectiveEffectiveCancellationTimestring `json:"effectiveCancellationTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "EffectiveCancellationTime")// to unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "EffectiveCancellationTime") to// include in API requests with the JSON null value. By default, fields with// empty values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaCancelSubscriptionResponse: Response message for BeyondCorp.CancelSubscription

func (GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaCancelSubscriptionResponse)MarshalJSONadded inv0.178.0

typeGoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaListSubscriptionsResponseadded inv0.101.0

type GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaListSubscriptionsResponse struct {// NextPageToken: A token to retrieve the next page of results, or empty if// there are no more results in the list.NextPageTokenstring `json:"nextPageToken,omitempty"`// Subscriptions: A list of BeyondCorp Subscriptions in the organization.Subscriptions []*GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription `json:"subscriptions,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaListSubscriptionsResponse: Response message for BeyondCorp.ListSubscriptions.

func (GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaListSubscriptionsResponse)MarshalJSONadded inv0.101.0

typeGoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaRestartSubscriptionResponseadded inv0.182.0

type GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaRestartSubscriptionResponse struct {// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`}

GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaRestartSubscriptionResponse: Response message for BeyondCorp.RestartSubscription

typeGoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscriptionadded inv0.101.0

type GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription struct {// AutoRenewEnabled: Output only. Represents that, if subscription will renew// or end when the term ends.AutoRenewEnabledbool `json:"autoRenewEnabled,omitempty"`// BillingAccount: Optional. Name of the billing account in the format. e.g.// billingAccounts/123456-123456-123456 Required if Subscription is of Paid// type.BillingAccountstring `json:"billingAccount,omitempty"`// CreateTime: Output only. Create time of the subscription.CreateTimestring `json:"createTime,omitempty"`// CsgCustomer: Optional. Whether the subscription is being created as part of// the Citrix flow. If this field is set to true, the subscription should have// both the start_time and end_time set in the request and the billing account// used will be the Citrix master billing account regardless of what its set to// in the request. This field can only be set to true in create requests.CsgCustomerbool `json:"csgCustomer,omitempty"`// EndTime: Optional. End time of the subscription.EndTimestring `json:"endTime,omitempty"`// Name: Identifier. Unique resource name of the Subscription. The name is// ignored when creating a subscription.Namestring `json:"name,omitempty"`// SeatCount: Optional. Number of seats in the subscription.SeatCountint64 `json:"seatCount,omitempty,string"`// Sku: Required. SKU of subscription.//// Possible values://   "SKU_UNSPECIFIED" - Default value. This value is unused.//   "BCE_STANDARD_SKU" - Represents BeyondCorp Standard SKU.Skustring `json:"sku,omitempty"`// StartTime: Optional. Start time of the subscription.StartTimestring `json:"startTime,omitempty"`// State: Output only. The current state of the subscription.//// Possible values://   "STATE_UNSPECIFIED" - Default value. This value is unused.//   "ACTIVE" - Represents an active subscription.//   "INACTIVE" - Represents an upcomming subscription.//   "COMPLETED" - Represents a completed subscription.Statestring `json:"state,omitempty"`// SubscriberType: Output only. Type of subscriber.//// Possible values://   "SUBSCRIBER_TYPE_UNSPECIFIED" - Default value. This value is unused.//   "ONLINE" - Represents an online subscription.//   "OFFLINE" - Represents an offline subscription.SubscriberTypestring `json:"subscriberType,omitempty"`// Type: Required. Type of subscription.//// Possible values://   "TYPE_UNSPECIFIED" - Default value. This value is unused.//   "TRIAL" - Represents a trial subscription.//   "PAID" - Represents a paid subscription.//   "ALLOWLIST" - Reresents an allowlisted subscription.Typestring `json:"type,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AutoRenewEnabled") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AutoRenewEnabled") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription: ABeyondCorp Subscription resource represents BeyondCorp EnterpriseSubscription. BeyondCorp Enterprise Subscription enables BeyondCorpEnterprise permium features for an organization.

func (GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription)MarshalJSONadded inv0.101.0

typeGoogleCloudBeyondcorpSecuritygatewaysV1SecurityGatewayOperationMetadataadded inv0.200.0

type GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGatewayOperationMetadata struct {// ApiVersion: Output only. API version used to start the operation.ApiVersionstring `json:"apiVersion,omitempty"`// CreateTime: Output only. The time the operation was created.CreateTimestring `json:"createTime,omitempty"`// EndTime: Output only. The time the operation finished running.EndTimestring `json:"endTime,omitempty"`// RequestedCancellation: Output only. Identifies whether the user has// requested cancellation of the operation. Operations that have been cancelled// successfully have Operation.error value with a google.rpc.Status.code of 1,// corresponding to `Code.CANCELLED`.RequestedCancellationbool `json:"requestedCancellation,omitempty"`// StatusMessage: Output only. Human-readable status of the operation, if any.StatusMessagestring `json:"statusMessage,omitempty"`// Target: Output only. Server-defined resource path for the target of the// operation.Targetstring `json:"target,omitempty"`// Verb: Output only. Name of the verb executed by the operation.Verbstring `json:"verb,omitempty"`// ForceSendFields is a list of field names (e.g. "ApiVersion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiVersion") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGatewayOperationMetadata:Represents the metadata of the long-running operation.

func (GoogleCloudBeyondcorpSecuritygatewaysV1SecurityGatewayOperationMetadata)MarshalJSONadded inv0.200.0

typeGoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationadded inv0.193.0

type GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication struct {// CreateTime: Output only. Timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// DisplayName: Optional. An arbitrary user-provided name for the application// resource. Cannot exceed 64 characters.DisplayNamestring `json:"displayName,omitempty"`// EndpointMatchers: Optional. An array of conditions to match the// application's network endpoint. Each element in the array is an// EndpointMatcher object, which defines a specific combination of a hostname// pattern and one or more ports. The application is considered matched if at// least one of the EndpointMatcher conditions in this array is met (the// conditions are combined using OR logic). Each EndpointMatcher must contain a// hostname pattern, such as "example.com", and one or more port numbers// specified as a string, such as "443". Hostname and port number examples:// "*.example.com", "443" "example.com" and "22" "example.com" and "22,33"EndpointMatchers []*GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpointMatcher `json:"endpointMatchers,omitempty"`// Name: Identifier. Name of the resource.Namestring `json:"name,omitempty"`// Schema: Optional. Type of the external application.//// Possible values://   "SCHEMA_UNSPECIFIED" - Default value. This value is unused.//   "PROXY_GATEWAY" - Proxy which routes traffic to actual applications, like// Netscaler Gateway.//   "API_GATEWAY" - Service Discovery API endpoint when Service Discovery is// enabled in Gateway.Schemastring `json:"schema,omitempty"`// UpdateTime: Output only. Timestamp when the resource was last modified.UpdateTimestring `json:"updateTime,omitempty"`// Upstreams: Optional. Which upstream resources to forward traffic to.Upstreams []*GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstream `json:"upstreams,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication: The informationabout an application resource.

func (GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication)MarshalJSONadded inv0.193.0

typeGoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstreamadded inv0.243.0

type GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstream struct {// EgressPolicy: Optional. Routing policy information.EgressPolicy *GoogleCloudBeyondcorpSecuritygatewaysV1alphaEgressPolicy `json:"egressPolicy,omitempty"`// External: List of the external endpoints to forward traffic to.External *GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstreamExternal `json:"external,omitempty"`// Network: Network to forward traffic to.Network *GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstreamNetwork `json:"network,omitempty"`// ProxyProtocol: Optional. Enables proxy protocol configuration for the// upstream.ProxyProtocol *GoogleCloudBeyondcorpSecuritygatewaysV1alphaProxyProtocolConfig `json:"proxyProtocol,omitempty"`// ForceSendFields is a list of field names (e.g. "EgressPolicy") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "EgressPolicy") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstream: Whichupstream resource to forward traffic to.

func (GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstream)MarshalJSONadded inv0.243.0

typeGoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstreamExternaladded inv0.251.0

type GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstreamExternal struct {// Endpoints: Required. List of the endpoints to forward traffic to.Endpoints []*GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpoint `json:"endpoints,omitempty"`// ForceSendFields is a list of field names (e.g. "Endpoints") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Endpoints") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstreamExternal:Endpoints to forward traffic to.

func (GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstreamExternal)MarshalJSONadded inv0.251.0

typeGoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstreamNetworkadded inv0.243.0

type GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstreamNetwork struct {// Name: Required. Network name is of the format:// `projects/{project}/global/networks/{network}Namestring `json:"name,omitempty"`// ForceSendFields is a list of field names (e.g. "Name") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Name") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstreamNetwork:Network to forward traffic to.

func (GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplicationUpstreamNetwork)MarshalJSONadded inv0.243.0

typeGoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersadded inv0.251.0

type GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeaders struct {// DeviceInfo: Optional. The device information configuration.DeviceInfo *GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedDeviceInfo `json:"deviceInfo,omitempty"`// GroupInfo: Optional. Group details.GroupInfo *GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedGroupInfo `json:"groupInfo,omitempty"`// OutputType: Optional. Default output type for all enabled headers.//// Possible values://   "OUTPUT_TYPE_UNSPECIFIED" - The unspecified output type.//   "PROTOBUF" - Protobuf output type.//   "JSON" - JSON output type.//   "NONE" - Explicitly disable header output.OutputTypestring `json:"outputType,omitempty"`// UserInfo: Optional. User details.UserInfo *GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedUserInfo `json:"userInfo,omitempty"`// ForceSendFields is a list of field names (e.g. "DeviceInfo") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DeviceInfo") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeaders: Contextualheaders configuration.

func (GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeaders)MarshalJSONadded inv0.251.0

typeGoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedDeviceInfoadded inv0.251.0

type GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedDeviceInfo struct {// OutputType: Optional. The output type details for the delegated device.//// Possible values://   "OUTPUT_TYPE_UNSPECIFIED" - The unspecified output type.//   "PROTOBUF" - Protobuf output type.//   "JSON" - JSON output type.//   "NONE" - Explicitly disable header output.OutputTypestring `json:"outputType,omitempty"`// ForceSendFields is a list of field names (e.g. "OutputType") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "OutputType") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedDeviceInfo: The delegated device information configuration.

func (GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedDeviceInfo)MarshalJSONadded inv0.251.0

typeGoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedGroupInfoadded inv0.251.0

type GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedGroupInfo struct {// OutputType: Optional. The output type of the delegated group information.//// Possible values://   "OUTPUT_TYPE_UNSPECIFIED" - The unspecified output type.//   "PROTOBUF" - Protobuf output type.//   "JSON" - JSON output type.//   "NONE" - Explicitly disable header output.OutputTypestring `json:"outputType,omitempty"`// ForceSendFields is a list of field names (e.g. "OutputType") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "OutputType") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedGroupInfo: The delegated group configuration details.

func (GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedGroupInfo)MarshalJSONadded inv0.251.0

typeGoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedUserInfoadded inv0.251.0

type GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedUserInfo struct {// OutputType: Optional. The delegated user's information.//// Possible values://   "OUTPUT_TYPE_UNSPECIFIED" - The unspecified output type.//   "PROTOBUF" - Protobuf output type.//   "JSON" - JSON output type.//   "NONE" - Explicitly disable header output.OutputTypestring `json:"outputType,omitempty"`// ForceSendFields is a list of field names (e.g. "OutputType") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "OutputType") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedUserInfo: The configuration information for the delegated user.

func (GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeadersDelegatedUserInfo)MarshalJSONadded inv0.251.0

typeGoogleCloudBeyondcorpSecuritygatewaysV1alphaEgressPolicyadded inv0.243.0

type GoogleCloudBeyondcorpSecuritygatewaysV1alphaEgressPolicy struct {// Regions: Required. List of the regions where the application sends traffic.Regions []string `json:"regions,omitempty"`// ForceSendFields is a list of field names (e.g. "Regions") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Regions") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSecuritygatewaysV1alphaEgressPolicy: Routing policyinformation.

func (GoogleCloudBeyondcorpSecuritygatewaysV1alphaEgressPolicy)MarshalJSONadded inv0.243.0

typeGoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpointadded inv0.251.0

type GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpoint struct {// Hostname: Required. Hostname of the endpoint.Hostnamestring `json:"hostname,omitempty"`// Port: Required. Port of the endpoint.Portint64 `json:"port,omitempty"`// ForceSendFields is a list of field names (e.g. "Hostname") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Hostname") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpoint: Internet Gatewayendpoint to forward traffic to.

func (GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpoint)MarshalJSONadded inv0.251.0

typeGoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpointMatcheradded inv0.198.0

type GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpointMatcher struct {// Hostname: Required. Hostname of the application.Hostnamestring `json:"hostname,omitempty"`// Ports: Required. The ports of the application.Ports []int64 `json:"ports,omitempty"`// ForceSendFields is a list of field names (e.g. "Hostname") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Hostname") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpointMatcher: EndpointMatchercontains the information of the endpoint that will match the application.

func (GoogleCloudBeyondcorpSecuritygatewaysV1alphaEndpointMatcher)MarshalJSONadded inv0.198.0

typeGoogleCloudBeyondcorpSecuritygatewaysV1alphaHubadded inv0.193.0

type GoogleCloudBeyondcorpSecuritygatewaysV1alphaHub struct {// InternetGateway: Optional. Internet Gateway configuration.InternetGateway *GoogleCloudBeyondcorpSecuritygatewaysV1alphaInternetGateway `json:"internetGateway,omitempty"`// ForceSendFields is a list of field names (e.g. "InternetGateway") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "InternetGateway") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSecuritygatewaysV1alphaHub: The Hub message containsinformation pertaining to the regional data path deployments.

func (GoogleCloudBeyondcorpSecuritygatewaysV1alphaHub)MarshalJSONadded inv0.193.0

typeGoogleCloudBeyondcorpSecuritygatewaysV1alphaInternetGatewayadded inv0.201.0

type GoogleCloudBeyondcorpSecuritygatewaysV1alphaInternetGateway struct {// AssignedIps: Output only. List of IP addresses assigned to the Cloud NAT.AssignedIps []string `json:"assignedIps,omitempty"`// ForceSendFields is a list of field names (e.g. "AssignedIps") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AssignedIps") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSecuritygatewaysV1alphaInternetGateway: Represents theInternet Gateway configuration.

func (GoogleCloudBeyondcorpSecuritygatewaysV1alphaInternetGateway)MarshalJSONadded inv0.201.0

typeGoogleCloudBeyondcorpSecuritygatewaysV1alphaListApplicationsResponseadded inv0.193.0

type GoogleCloudBeyondcorpSecuritygatewaysV1alphaListApplicationsResponse struct {// Applications: A list of BeyondCorp Application in the project.Applications []*GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication `json:"applications,omitempty"`// NextPageToken: A token to retrieve the next page of results, or empty if// there are no more results in the list.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: A list of locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Applications") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Applications") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSecuritygatewaysV1alphaListApplicationsResponse:Message for response to listing Applications.

func (GoogleCloudBeyondcorpSecuritygatewaysV1alphaListApplicationsResponse)MarshalJSONadded inv0.193.0

typeGoogleCloudBeyondcorpSecuritygatewaysV1alphaListSecurityGatewaysResponseadded inv0.170.0

type GoogleCloudBeyondcorpSecuritygatewaysV1alphaListSecurityGatewaysResponse struct {// NextPageToken: A token to retrieve the next page of results, or empty if// there are no more results in the list.NextPageTokenstring `json:"nextPageToken,omitempty"`// SecurityGateways: A list of BeyondCorp SecurityGateway in the project.SecurityGateways []*GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway `json:"securityGateways,omitempty"`// Unreachable: A list of locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSecuritygatewaysV1alphaListSecurityGatewaysResponse:Message for response to listing SecurityGateways.

func (GoogleCloudBeyondcorpSecuritygatewaysV1alphaListSecurityGatewaysResponse)MarshalJSONadded inv0.170.0

typeGoogleCloudBeyondcorpSecuritygatewaysV1alphaProxyProtocolConfigadded inv0.251.0

type GoogleCloudBeyondcorpSecuritygatewaysV1alphaProxyProtocolConfig struct {// AllowedClientHeaders: Optional. List of the allowed client header names.AllowedClientHeaders []string `json:"allowedClientHeaders,omitempty"`// ClientIp: Optional. Client IP configuration. The client IP address is// included if true.ClientIpbool `json:"clientIp,omitempty"`// ContextualHeaders: Optional. Configuration for the contextual headers.ContextualHeaders *GoogleCloudBeyondcorpSecuritygatewaysV1alphaContextualHeaders `json:"contextualHeaders,omitempty"`// GatewayIdentity: Optional. The security gateway identity configuration.//// Possible values://   "GATEWAY_IDENTITY_UNSPECIFIED" - Unspecified gateway identity.//   "RESOURCE_NAME" - Resource name for gateway identity, in the format:// projects/{project_id}/locations/{location_id}/securityGateways/{security_gate// way_id}GatewayIdentitystring `json:"gatewayIdentity,omitempty"`// MetadataHeaders: Optional. Custom resource specific headers along with the// values. The names should conform toRFC 9110: >Field names can contain// alphanumeric characters, hyphens, and periods, can contain only// ASCII-printable characters and tabs, and must start with a letter.MetadataHeaders map[string]string `json:"metadataHeaders,omitempty"`// ForceSendFields is a list of field names (e.g. "AllowedClientHeaders") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AllowedClientHeaders") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSecuritygatewaysV1alphaProxyProtocolConfig: Theconfiguration for the proxy.

func (GoogleCloudBeyondcorpSecuritygatewaysV1alphaProxyProtocolConfig)MarshalJSONadded inv0.251.0

typeGoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayadded inv0.170.0

type GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway struct {// CreateTime: Output only. Timestamp when the resource was created.CreateTimestring `json:"createTime,omitempty"`// DelegatingServiceAccount: Output only. Service account used for operations// that involve resources in consumer projects.DelegatingServiceAccountstring `json:"delegatingServiceAccount,omitempty"`// DisplayName: Optional. An arbitrary user-provided name for the// SecurityGateway. Cannot exceed 64 characters.DisplayNamestring `json:"displayName,omitempty"`// ExternalIps: Output only. IP addresses that will be used for establishing// connection to the endpoints.ExternalIps []string `json:"externalIps,omitempty"`// Hubs: Optional. Map of Hubs that represents regional data path deployment// with GCP region as a key.Hubs map[string]GoogleCloudBeyondcorpSecuritygatewaysV1alphaHub `json:"hubs,omitempty"`// Name: Identifier. Name of the resource.Namestring `json:"name,omitempty"`// ProxyProtocolConfig: Optional. Shared proxy configuration for all apps.ProxyProtocolConfig *GoogleCloudBeyondcorpSecuritygatewaysV1alphaProxyProtocolConfig `json:"proxyProtocolConfig,omitempty"`// ServiceDiscovery: Optional. Settings related to the Service Discovery.ServiceDiscovery *GoogleCloudBeyondcorpSecuritygatewaysV1alphaServiceDiscovery `json:"serviceDiscovery,omitempty"`// State: Output only. The operational state of the SecurityGateway.//// Possible values://   "STATE_UNSPECIFIED" - Default value. This value is unused.//   "CREATING" - SecurityGateway is being created.//   "UPDATING" - SecurityGateway is being updated.//   "DELETING" - SecurityGateway is being deleted.//   "RUNNING" - SecurityGateway is running.//   "DOWN" - SecurityGateway is down and may be restored in the future.//   "ERROR" - SecurityGateway encountered an error and is in an// indeterministic state.Statestring `json:"state,omitempty"`// UpdateTime: Output only. Timestamp when the resource was last modified.UpdateTimestring `json:"updateTime,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "CreateTime") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "CreateTime") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway: The informationabout a security gateway resource.

func (GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway)MarshalJSONadded inv0.170.0

typeGoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetadataadded inv0.170.0

type GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetadata struct {// ApiVersion: Output only. API version used to start the operation.ApiVersionstring `json:"apiVersion,omitempty"`// CreateTime: Output only. The time the operation was created.CreateTimestring `json:"createTime,omitempty"`// EndTime: Output only. The time the operation finished running.EndTimestring `json:"endTime,omitempty"`// RequestedCancellation: Output only. Identifies whether the user has// requested cancellation of the operation. Operations that have been cancelled// successfully have Operation.error value with a google.rpc.Status.code of 1,// corresponding to `Code.CANCELLED`.RequestedCancellationbool `json:"requestedCancellation,omitempty"`// StatusMessage: Output only. Human-readable status of the operation, if any.StatusMessagestring `json:"statusMessage,omitempty"`// Target: Output only. Server-defined resource path for the target of the// operation.Targetstring `json:"target,omitempty"`// Verb: Output only. Name of the verb executed by the operation.Verbstring `json:"verb,omitempty"`// ForceSendFields is a list of field names (e.g. "ApiVersion") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiVersion") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetadata:

Represents the metadata of the long-running operation.

func (GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGatewayOperationMetadata)MarshalJSONadded inv0.170.0

typeGoogleCloudBeyondcorpSecuritygatewaysV1alphaServiceDiscoveryadded inv0.251.0

type GoogleCloudBeyondcorpSecuritygatewaysV1alphaServiceDiscovery struct {// ApiGateway: Required. External API configuration.ApiGateway *GoogleCloudBeyondcorpSecuritygatewaysV1alphaServiceDiscoveryApiGateway `json:"apiGateway,omitempty"`// ForceSendFields is a list of field names (e.g. "ApiGateway") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ApiGateway") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSecuritygatewaysV1alphaServiceDiscovery: Settingsrelated to the Service Discovery.

func (GoogleCloudBeyondcorpSecuritygatewaysV1alphaServiceDiscovery)MarshalJSONadded inv0.251.0

typeGoogleCloudBeyondcorpSecuritygatewaysV1alphaServiceDiscoveryApiGatewayadded inv0.251.0

type GoogleCloudBeyondcorpSecuritygatewaysV1alphaServiceDiscoveryApiGateway struct {// ResourceOverride: Required. Enables fetching resource model updates to alter// service behavior per Chrome profile.ResourceOverride *GoogleCloudBeyondcorpSecuritygatewaysV1alphaServiceDiscoveryApiGatewayOperationDescriptor `json:"resourceOverride,omitempty"`// ForceSendFields is a list of field names (e.g. "ResourceOverride") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ResourceOverride") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSecuritygatewaysV1alphaServiceDiscoveryApiGateway: IfService Discovery is done through API, defines its settings.

func (GoogleCloudBeyondcorpSecuritygatewaysV1alphaServiceDiscoveryApiGateway)MarshalJSONadded inv0.251.0

typeGoogleCloudBeyondcorpSecuritygatewaysV1alphaServiceDiscoveryApiGatewayOperationDescriptoradded inv0.251.0

type GoogleCloudBeyondcorpSecuritygatewaysV1alphaServiceDiscoveryApiGatewayOperationDescriptor struct {// Path: Required. Contains the URI path fragment where HTTP request is sent.Pathstring `json:"path,omitempty"`// ForceSendFields is a list of field names (e.g. "Path") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Path") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudBeyondcorpSecuritygatewaysV1alphaServiceDiscoveryApiGatewayOperationDescriptor: API operation descriptor.

func (GoogleCloudBeyondcorpSecuritygatewaysV1alphaServiceDiscoveryApiGatewayOperationDescriptor)MarshalJSONadded inv0.251.0

typeGoogleCloudLocationListLocationsResponse

type GoogleCloudLocationListLocationsResponse struct {// Locations: A list of locations that matches the specified filter in the// request.Locations []*GoogleCloudLocationLocation `json:"locations,omitempty"`// NextPageToken: The standard List next-page token.NextPageTokenstring `json:"nextPageToken,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Locations") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Locations") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudLocationListLocationsResponse: The response message forLocations.ListLocations.

func (GoogleCloudLocationListLocationsResponse)MarshalJSON

typeGoogleCloudLocationLocation

type GoogleCloudLocationLocation struct {// DisplayName: The friendly name for this location, typically a nearby city// name. For example, "Tokyo".DisplayNamestring `json:"displayName,omitempty"`// Labels: Cross-service attributes for the location. For example// {"cloud.googleapis.com/region": "us-east1"}Labels map[string]string `json:"labels,omitempty"`// LocationId: The canonical id for this location. For example: "us-east1".LocationIdstring `json:"locationId,omitempty"`// Metadata: Service-specific metadata. For example the available capacity at// the given location.Metadatagoogleapi.RawMessage `json:"metadata,omitempty"`// Name: Resource name for the location, which may vary between// implementations. For example:// "projects/example-project/locations/us-east1"Namestring `json:"name,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "DisplayName") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "DisplayName") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleCloudLocationLocation: A resource that represents a Google Cloudlocation.

func (GoogleCloudLocationLocation)MarshalJSON

func (sGoogleCloudLocationLocation) MarshalJSON() ([]byte,error)

typeGoogleIamV1AuditConfig

type GoogleIamV1AuditConfig struct {// AuditLogConfigs: The configuration for logging of each type of permission.AuditLogConfigs []*GoogleIamV1AuditLogConfig `json:"auditLogConfigs,omitempty"`// Service: Specifies a service that will be enabled for audit logging. For// example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices`// is a special value that covers all services.Servicestring `json:"service,omitempty"`// ForceSendFields is a list of field names (e.g. "AuditLogConfigs") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AuditLogConfigs") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleIamV1AuditConfig: Specifies the audit configuration for a service. Theconfiguration determines which permission types are logged, and whatidentities, if any, are exempted from logging. An AuditConfig must have oneor more AuditLogConfigs. If there are AuditConfigs for both `allServices`and a specific service, the union of the two AuditConfigs is used for thatservice: the log_types specified in each AuditConfig are enabled, and theexempted_members in each AuditLogConfig are exempted. Example Policy withmultiple AuditConfigs: { "audit_configs": [ { "service": "allServices","audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": ["user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type":"ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com","audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type":"DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } Forsampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READlogging. It also exempts `jose@example.com` from DATA_READ logging, and`aliya@example.com` from DATA_WRITE logging.

func (GoogleIamV1AuditConfig)MarshalJSON

func (sGoogleIamV1AuditConfig) MarshalJSON() ([]byte,error)

typeGoogleIamV1AuditLogConfig

type GoogleIamV1AuditLogConfig struct {// ExemptedMembers: Specifies the identities that do not cause logging for this// type of permission. Follows the same format of Binding.members.ExemptedMembers []string `json:"exemptedMembers,omitempty"`// LogType: The log type that this config enables.//// Possible values://   "LOG_TYPE_UNSPECIFIED" - Default case. Should never be this.//   "ADMIN_READ" - Admin reads. Example: CloudIAM getIamPolicy//   "DATA_WRITE" - Data writes. Example: CloudSQL Users create//   "DATA_READ" - Data reads. Example: CloudSQL Users listLogTypestring `json:"logType,omitempty"`// ForceSendFields is a list of field names (e.g. "ExemptedMembers") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ExemptedMembers") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleIamV1AuditLogConfig: Provides the configuration for logging a type ofpermissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ","exempted_members": [ "user:jose@example.com" ] }, { "log_type":"DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, whileexempting jose@example.com from DATA_READ logging.

func (GoogleIamV1AuditLogConfig)MarshalJSON

func (sGoogleIamV1AuditLogConfig) MarshalJSON() ([]byte,error)

typeGoogleIamV1Binding

type GoogleIamV1Binding struct {// Condition: The condition that is associated with this binding. If the// condition evaluates to `true`, then this binding applies to the current// request. If the condition evaluates to `false`, then this binding does not// apply to the current request. However, a different role binding might grant// the same role to one or more of the principals in this binding. To learn// which resources support conditions in their IAM policies, see the IAM// documentation// (https://cloud.google.com/iam/help/conditions/resource-policies).Condition *GoogleTypeExpr `json:"condition,omitempty"`// Members: Specifies the principals requesting access for a Google Cloud// resource. `members` can have the following values: * `allUsers`: A special// identifier that represents anyone who is on the internet; with or without a// Google account. * `allAuthenticatedUsers`: A special identifier that// represents anyone who is authenticated with a Google account or a service// account. Does not include identities that come from external identity// providers (IdPs) through identity federation. * `user:{emailid}`: An email// address that represents a specific Google account. For example,// `alice@example.com` . * `serviceAccount:{emailid}`: An email address that// represents a Google service account. For example,// `my-other-app@appspot.gserviceaccount.com`. *// `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An// identifier for a Kubernetes service account// (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts).// For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. *// `group:{emailid}`: An email address that represents a Google group. For// example, `admins@example.com`. * `domain:{domain}`: The G Suite domain// (primary) that represents all the users of that domain. For example,// `google.com` or `example.com`. *// `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/sub// ject/{subject_attribute_value}`: A single identity in a workforce identity// pool. *// `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/// group/{group_id}`: All workforce identities in a group. *// `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/// attribute.{attribute_name}/{attribute_value}`: All workforce identities with// a specific attribute value. *// `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/// *`: All identities in a workforce identity pool. *// `principal://iam.googleapis.com/projects/{project_number}/locations/global/wo// rkloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single// identity in a workload identity pool. *// `principalSet://iam.googleapis.com/projects/{project_number}/locations/global// /workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool// group. *// `principalSet://iam.googleapis.com/projects/{project_number}/locations/global// /workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}// `: All identities in a workload identity pool with a certain attribute. *// `principalSet://iam.googleapis.com/projects/{project_number}/locations/global// /workloadIdentityPools/{pool_id}/*`: All identities in a workload identity// pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus// unique identifier) representing a user that has been recently deleted. For// example, `alice@example.com?uid=123456789012345678901`. If the user is// recovered, this value reverts to `user:{emailid}` and the recovered user// retains the role in the binding. *// `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus// unique identifier) representing a service account that has been recently// deleted. For example,// `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the// service account is undeleted, this value reverts to// `serviceAccount:{emailid}` and the undeleted service account retains the// role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email// address (plus unique identifier) representing a Google group that has been// recently deleted. For example,// `admins@example.com?uid=123456789012345678901`. If the group is recovered,// this value reverts to `group:{emailid}` and the recovered group retains the// role in the binding. *// `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool// _id}/subject/{subject_attribute_value}`: Deleted single identity in a// workforce identity pool. For example,// `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-po// ol-id/subject/my-subject-attribute-value`.Members []string `json:"members,omitempty"`// Role: Role that is assigned to the list of `members`, or principals. For// example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview// of the IAM roles and permissions, see the IAM documentation// (https://cloud.google.com/iam/docs/roles-overview). For a list of the// available pre-defined roles, see here// (https://cloud.google.com/iam/docs/understanding-roles).Rolestring `json:"role,omitempty"`// ForceSendFields is a list of field names (e.g. "Condition") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Condition") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleIamV1Binding: Associates `members`, or principals, with a `role`.

func (GoogleIamV1Binding)MarshalJSON

func (sGoogleIamV1Binding) MarshalJSON() ([]byte,error)

typeGoogleIamV1Policy

type GoogleIamV1Policy struct {// AuditConfigs: Specifies cloud audit logging configuration for this policy.AuditConfigs []*GoogleIamV1AuditConfig `json:"auditConfigs,omitempty"`// Bindings: Associates a list of `members`, or principals, with a `role`.// Optionally, may specify a `condition` that determines how and when the// `bindings` are applied. Each of the `bindings` must contain at least one// principal. The `bindings` in a `Policy` can refer to up to 1,500 principals;// up to 250 of these principals can be Google groups. Each occurrence of a// principal counts towards these limits. For example, if the `bindings` grant// 50 different roles to `user:alice@example.com`, and not to any other// principal, then you can add another 1,450 principals to the `bindings` in// the `Policy`.Bindings []*GoogleIamV1Binding `json:"bindings,omitempty"`// Etag: `etag` is used for optimistic concurrency control as a way to help// prevent simultaneous updates of a policy from overwriting each other. It is// strongly suggested that systems make use of the `etag` in the// read-modify-write cycle to perform policy updates in order to avoid race// conditions: An `etag` is returned in the response to `getIamPolicy`, and// systems are expected to put that etag in the request to `setIamPolicy` to// ensure that their change will be applied to the same version of the policy.// **Important:** If you use IAM Conditions, you must include the `etag` field// whenever you call `setIamPolicy`. If you omit this field, then IAM allows// you to overwrite a version `3` policy with a version `1` policy, and all of// the conditions in the version `3` policy are lost.Etagstring `json:"etag,omitempty"`// Version: Specifies the format of the policy. Valid values are `0`, `1`, and// `3`. Requests that specify an invalid value are rejected. Any operation that// affects conditional role bindings must specify version `3`. This requirement// applies to the following operations: * Getting a policy that includes a// conditional role binding * Adding a conditional role binding to a policy *// Changing a conditional role binding in a policy * Removing any role binding,// with or without a condition, from a policy that includes conditions// **Important:** If you use IAM Conditions, you must include the `etag` field// whenever you call `setIamPolicy`. If you omit this field, then IAM allows// you to overwrite a version `3` policy with a version `1` policy, and all of// the conditions in the version `3` policy are lost. If a policy does not// include any conditions, operations on that policy may specify any valid// version or leave the field unset. To learn which resources support// conditions in their IAM policies, see the IAM documentation// (https://cloud.google.com/iam/help/conditions/resource-policies).Versionint64 `json:"version,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AuditConfigs") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AuditConfigs") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleIamV1Policy: An Identity and Access Management (IAM) policy, whichspecifies access controls for Google Cloud resources. A `Policy` is acollection of `bindings`. A `binding` binds one or more `members`, orprincipals, to a single `role`. Principals can be user accounts, serviceaccounts, Google groups, and domains (such as G Suite). A `role` is a namedlist of permissions; each `role` can be an IAM predefined role or auser-created custom role. For some types of Google Cloud resources, a`binding` can also specify a `condition`, which is a logical expression thatallows access to a resource only if the expression evaluates to `true`. Acondition can add constraints based on attributes of the request, theresource, or both. To learn which resources support conditions in their IAMpolicies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies). **JSONexample:** ``` { "bindings": [ { "role":"roles/resourcemanager.organizationAdmin", "members": ["user:mike@example.com", "group:admins@example.com", "domain:google.com","serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role":"roles/resourcemanager.organizationViewer", "members": ["user:eve@example.com" ], "condition": { "title": "expirable access","description": "Does not grant access after Sep 2020", "expression":"request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag":"BwWWja0YfJA=", "version": 3 } ``` **YAML example:** ``` bindings: -members: - user:mike@example.com - group:admins@example.com -domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.comrole: roles/resourcemanager.organizationAdmin - members: -user:eve@example.com role: roles/resourcemanager.organizationViewercondition: title: expirable access description: Does not grant access afterSep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z')etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features,see the IAM documentation (https://cloud.google.com/iam/docs/).

func (GoogleIamV1Policy)MarshalJSON

func (sGoogleIamV1Policy) MarshalJSON() ([]byte,error)

typeGoogleIamV1SetIamPolicyRequest

type GoogleIamV1SetIamPolicyRequest struct {// Policy: REQUIRED: The complete policy to be applied to the `resource`. The// size of the policy is limited to a few 10s of KB. An empty policy is a valid// policy but certain Google Cloud services (such as Projects) might reject// them.Policy *GoogleIamV1Policy `json:"policy,omitempty"`// UpdateMask: OPTIONAL: A FieldMask specifying which fields of the policy to// modify. Only the fields in the mask will be modified. If no mask is// provided, the following default mask is used: `paths: "bindings, etag"UpdateMaskstring `json:"updateMask,omitempty"`// ForceSendFields is a list of field names (e.g. "Policy") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Policy") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleIamV1SetIamPolicyRequest: Request message for `SetIamPolicy` method.

func (GoogleIamV1SetIamPolicyRequest)MarshalJSON

func (sGoogleIamV1SetIamPolicyRequest) MarshalJSON() ([]byte,error)

typeGoogleIamV1TestIamPermissionsRequest

type GoogleIamV1TestIamPermissionsRequest struct {// Permissions: The set of permissions to check for the `resource`. Permissions// with wildcards (such as `*` or `storage.*`) are not allowed. For more// information see IAM Overview// (https://cloud.google.com/iam/docs/overview#permissions).Permissions []string `json:"permissions,omitempty"`// ForceSendFields is a list of field names (e.g. "Permissions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Permissions") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleIamV1TestIamPermissionsRequest: Request message for`TestIamPermissions` method.

func (GoogleIamV1TestIamPermissionsRequest)MarshalJSON

typeGoogleIamV1TestIamPermissionsResponse

type GoogleIamV1TestIamPermissionsResponse struct {// Permissions: A subset of `TestPermissionsRequest.permissions` that the// caller is allowed.Permissions []string `json:"permissions,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Permissions") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Permissions") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleIamV1TestIamPermissionsResponse: Response message for`TestIamPermissions` method.

func (GoogleIamV1TestIamPermissionsResponse)MarshalJSON

typeGoogleLongrunningCancelOperationRequest

type GoogleLongrunningCancelOperationRequest struct {}

GoogleLongrunningCancelOperationRequest: The request message forOperations.CancelOperation.

typeGoogleLongrunningListOperationsResponse

type GoogleLongrunningListOperationsResponse struct {// NextPageToken: The standard List next-page token.NextPageTokenstring `json:"nextPageToken,omitempty"`// Operations: A list of operations that matches the specified filter in the// request.Operations []*GoogleLongrunningOperation `json:"operations,omitempty"`// Unreachable: Unordered list. Unreachable resources. Populated when the// request sets `ListOperationsRequest.return_partial_success` and reads across// collections e.g. when attempting to list all resources across all supported// locations.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "NextPageToken") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "NextPageToken") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleLongrunningListOperationsResponse: The response message forOperations.ListOperations.

func (GoogleLongrunningListOperationsResponse)MarshalJSON

typeGoogleLongrunningOperation

type GoogleLongrunningOperation struct {// Done: If the value is `false`, it means the operation is still in progress.// If `true`, the operation is completed, and either `error` or `response` is// available.Donebool `json:"done,omitempty"`// Error: The error result of the operation in case of failure or cancellation.Error *GoogleRpcStatus `json:"error,omitempty"`// Metadata: Service-specific metadata associated with the operation. It// typically contains progress information and common metadata such as create// time. Some services might not provide such metadata. Any method that returns// a long-running operation should document the metadata type, if any.Metadatagoogleapi.RawMessage `json:"metadata,omitempty"`// Name: The server-assigned name, which is only unique within the same service// that originally returns it. If you use the default HTTP mapping, the `name`// should be a resource name ending with `operations/{unique_id}`.Namestring `json:"name,omitempty"`// Response: The normal, successful response of the operation. If the original// method returns no data on success, such as `Delete`, the response is// `google.protobuf.Empty`. If the original method is standard// `Get`/`Create`/`Update`, the response should be the resource. For other// methods, the response should have the type `XxxResponse`, where `Xxx` is the// original method name. For example, if the original method name is// `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.Responsegoogleapi.RawMessage `json:"response,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Done") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Done") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleLongrunningOperation: This resource represents a long-runningoperation that is the result of a network API call.

func (GoogleLongrunningOperation)MarshalJSON

func (sGoogleLongrunningOperation) MarshalJSON() ([]byte,error)

typeGoogleRpcStatus

type GoogleRpcStatus struct {// Code: The status code, which should be an enum value of google.rpc.Code.Codeint64 `json:"code,omitempty"`// Details: A list of messages that carry the error details. There is a common// set of message types for APIs to use.Details []googleapi.RawMessage `json:"details,omitempty"`// Message: A developer-facing error message, which should be in English. Any// user-facing error message should be localized and sent in the// google.rpc.Status.details field, or localized by the client.Messagestring `json:"message,omitempty"`// ForceSendFields is a list of field names (e.g. "Code") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Code") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleRpcStatus: The `Status` type defines a logical error model that issuitable for different programming environments, including REST APIs and RPCAPIs. It is used by gRPC (https://github.com/grpc). Each `Status` messagecontains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in theAPI Design Guide (https://cloud.google.com/apis/design/errors).

func (GoogleRpcStatus)MarshalJSON

func (sGoogleRpcStatus) MarshalJSON() ([]byte,error)

typeGoogleTypeExpr

type GoogleTypeExpr struct {// Description: Optional. Description of the expression. This is a longer text// which describes the expression, e.g. when hovered over it in a UI.Descriptionstring `json:"description,omitempty"`// Expression: Textual representation of an expression in Common Expression// Language syntax.Expressionstring `json:"expression,omitempty"`// Location: Optional. String indicating the location of the expression for// error reporting, e.g. a file name and a position in the file.Locationstring `json:"location,omitempty"`// Title: Optional. Title for the expression, i.e. a short string describing// its purpose. This can be used e.g. in UIs which allow to enter the// expression.Titlestring `json:"title,omitempty"`// ForceSendFields is a list of field names (e.g. "Description") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Description") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

GoogleTypeExpr: Represents a textual expression in the Common ExpressionLanguage (CEL) syntax. CEL is a C-like expression language. The syntax andsemantics of CEL are documented athttps://github.com/google/cel-spec.Example (Comparison): title: "Summary size limit" description: "Determinesif a summary is less than 100 chars" expression: "document.summary.size() <100" Example (Equality): title: "Requestor is owner" description:"Determines if requestor is the document owner" expression: "document.owner== request.auth.claims.email" Example (Logic): title: "Public documents"description: "Determine whether the document should be publicly visible"expression: "document.type != 'private' && document.type != 'internal'"Example (Data Manipulation): title: "Notification string" description:"Create a notification string with a timestamp." expression: "'New messagereceived at ' + string(document.create_time)" The exact variables andfunctions that may be referenced within an expression are determined by theservice that evaluates it. See the service documentation for additionalinformation.

func (GoogleTypeExpr)MarshalJSON

func (sGoogleTypeExpr) MarshalJSON() ([]byte,error)

typeImageConfig

type ImageConfig struct {// StableImage: The stable image that the remote agent will fallback to if the// target image fails.StableImagestring `json:"stableImage,omitempty"`// TargetImage: The initial image the remote agent will attempt to run for the// control plane.TargetImagestring `json:"targetImage,omitempty"`// ForceSendFields is a list of field names (e.g. "StableImage") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "StableImage") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ImageConfig: ImageConfig defines the control plane images to run.

func (ImageConfig)MarshalJSON

func (sImageConfig) MarshalJSON() ([]byte,error)

typeListAppGatewaysResponse

type ListAppGatewaysResponse struct {// AppGateways: A list of BeyondCorp AppGateways in the project.AppGateways []*AppGateway `json:"appGateways,omitempty"`// NextPageToken: A token to retrieve the next page of results, or empty if// there are no more results in the list.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: A list of locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "AppGateways") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "AppGateways") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListAppGatewaysResponse: Response message for BeyondCorp.ListAppGateways.

func (ListAppGatewaysResponse)MarshalJSON

func (sListAppGatewaysResponse) MarshalJSON() ([]byte,error)

typeListConnectionsResponse

type ListConnectionsResponse struct {// Connections: A list of BeyondCorp Connections in the project.Connections []*Connection `json:"connections,omitempty"`// NextPageToken: A token to retrieve the next page of results, or empty if// there are no more results in the list.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: A list of locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Connections") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Connections") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListConnectionsResponse: Response message for BeyondCorp.ListConnections.

func (ListConnectionsResponse)MarshalJSON

func (sListConnectionsResponse) MarshalJSON() ([]byte,error)

typeListConnectorsResponse

type ListConnectorsResponse struct {// Connectors: A list of BeyondCorp Connectors in the project.Connectors []*Connector `json:"connectors,omitempty"`// NextPageToken: A token to retrieve the next page of results, or empty if// there are no more results in the list.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: A list of locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "Connectors") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Connectors") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ListConnectorsResponse: Response message for BeyondCorp.ListConnectors.

func (ListConnectorsResponse)MarshalJSON

func (sListConnectorsResponse) MarshalJSON() ([]byte,error)

typeNotificationConfig

type NotificationConfig struct {// PubsubNotification: Pub/Sub topic for Connector to subscribe and receive// notifications from `projects/{project}/topics/{pubsub_topic}`PubsubNotification *CloudPubSubNotificationConfig `json:"pubsubNotification,omitempty"`// ForceSendFields is a list of field names (e.g. "PubsubNotification") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "PubsubNotification") to include// in API requests with the JSON null value. By default, fields with empty// values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

NotificationConfig: NotificationConfig defines the mechanisms to notifyinstance agent.

func (NotificationConfig)MarshalJSON

func (sNotificationConfig) MarshalJSON() ([]byte,error)

typeOrganizationsLocationsGlobalPartnerTenantsDeleteCalladded inv0.125.0

type OrganizationsLocationsGlobalPartnerTenantsDeleteCall struct {// contains filtered or unexported fields}

func (*OrganizationsLocationsGlobalPartnerTenantsDeleteCall)Contextadded inv0.125.0

Context sets the context to be used in this call's Do method.

func (*OrganizationsLocationsGlobalPartnerTenantsDeleteCall)Doadded inv0.125.0

Do executes the "beyondcorp.organizations.locations.global.partnerTenants.delete" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*OrganizationsLocationsGlobalPartnerTenantsDeleteCall)Fieldsadded inv0.125.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*OrganizationsLocationsGlobalPartnerTenantsDeleteCall)Headeradded inv0.125.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*OrganizationsLocationsGlobalPartnerTenantsDeleteCall)RequestIdadded inv0.125.0

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes afterthe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

typeOrganizationsLocationsGlobalPartnerTenantsGetCalladded inv0.124.0

type OrganizationsLocationsGlobalPartnerTenantsGetCall struct {// contains filtered or unexported fields}

func (*OrganizationsLocationsGlobalPartnerTenantsGetCall)Contextadded inv0.124.0

Context sets the context to be used in this call's Do method.

func (*OrganizationsLocationsGlobalPartnerTenantsGetCall)Doadded inv0.124.0

Do executes the "beyondcorp.organizations.locations.global.partnerTenants.get" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudBeyondcorpPartnerservicesV1alphaPartnerTenant.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*OrganizationsLocationsGlobalPartnerTenantsGetCall)Fieldsadded inv0.124.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*OrganizationsLocationsGlobalPartnerTenantsGetCall)Headeradded inv0.124.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*OrganizationsLocationsGlobalPartnerTenantsGetCall)IfNoneMatchadded inv0.124.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeOrganizationsLocationsGlobalPartnerTenantsListCalladded inv0.125.0

type OrganizationsLocationsGlobalPartnerTenantsListCall struct {// contains filtered or unexported fields}

func (*OrganizationsLocationsGlobalPartnerTenantsListCall)Contextadded inv0.125.0

Context sets the context to be used in this call's Do method.

func (*OrganizationsLocationsGlobalPartnerTenantsListCall)Doadded inv0.125.0

Do executes the "beyondcorp.organizations.locations.global.partnerTenants.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudBeyondcorpPartnerservicesV1alphaListPartnerTenantsResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*OrganizationsLocationsGlobalPartnerTenantsListCall)Fieldsadded inv0.125.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*OrganizationsLocationsGlobalPartnerTenantsListCall)Filteradded inv0.125.0

Filter sets the optional parameter "filter": A filter specifying constraintsof a list operation. All fields in the PartnerTenant message are supported.For example, the following query will return the PartnerTenants withdisplayName "test-tenant"organizations/${ORG_ID}/locations/${LOCATION}/partnerTenants?filter=displayName="test-tenant" Nested fields are also supported. The follow query willreturn PartnerTenants with internal_tenant_id "1234"organizations/${ORG_ID}/locations/${LOCATION}/partnerTenants?filter=partnerMetadata.internalTenantId="1234" For more information, please refer tohttps://google.aip.dev/160.

func (*OrganizationsLocationsGlobalPartnerTenantsListCall)Headeradded inv0.125.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*OrganizationsLocationsGlobalPartnerTenantsListCall)IfNoneMatchadded inv0.125.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*OrganizationsLocationsGlobalPartnerTenantsListCall)OrderByadded inv0.125.0

OrderBy sets the optional parameter "orderBy": Specifies the ordering ofresults. See Sorting order(https://cloud.google.com/apis/design/design_patterns#sorting_order) formore information.

func (*OrganizationsLocationsGlobalPartnerTenantsListCall)PageSizeadded inv0.125.0

PageSize sets the optional parameter "pageSize": The maximum number of itemsto return. If not specified, a default value of 50 will be used by theservice. Regardless of the page_size value, the response may include apartial list and a caller should only rely on response's next_page_token todetermine if there are more instances left to be queried.

func (*OrganizationsLocationsGlobalPartnerTenantsListCall)PageTokenadded inv0.125.0

PageToken sets the optional parameter "pageToken": The next_page_token valuereturned from a previous ListPartnerTenantsResponse, if any.

func (*OrganizationsLocationsGlobalPartnerTenantsListCall)Pagesadded inv0.125.0

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

typeOrganizationsLocationsGlobalPartnerTenantsServiceadded inv0.124.0

type OrganizationsLocationsGlobalPartnerTenantsService struct {// contains filtered or unexported fields}

funcNewOrganizationsLocationsGlobalPartnerTenantsServiceadded inv0.124.0

func NewOrganizationsLocationsGlobalPartnerTenantsService(s *Service) *OrganizationsLocationsGlobalPartnerTenantsService

func (*OrganizationsLocationsGlobalPartnerTenantsService)Deleteadded inv0.125.0

Delete: Deletes a single PartnerTenant.

- name: Name of the resource.

func (*OrganizationsLocationsGlobalPartnerTenantsService)Getadded inv0.124.0

Get: Gets details of a single PartnerTenant.

  • name: The resource name of the PartnerTenant using the form:`organizations/{organization_id}/locations/global/partnerTenants/{partner_tenant_id}`.

func (*OrganizationsLocationsGlobalPartnerTenantsService)Listadded inv0.125.0

List: Lists PartnerTenants in a given organization.

  • parent: The parent organization to which the PartnerTenants belong.Format: `organizations/{organization_id}/locations/global`.

typeOrganizationsLocationsGlobalServiceadded inv0.122.0

type OrganizationsLocationsGlobalService struct {PartnerTenants *OrganizationsLocationsGlobalPartnerTenantsService// contains filtered or unexported fields}

funcNewOrganizationsLocationsGlobalServiceadded inv0.122.0

func NewOrganizationsLocationsGlobalService(s *Service) *OrganizationsLocationsGlobalService

typeOrganizationsLocationsInsightsConfiguredInsightCalladded inv0.92.0

type OrganizationsLocationsInsightsConfiguredInsightCall struct {// contains filtered or unexported fields}

func (*OrganizationsLocationsInsightsConfiguredInsightCall)Aggregationadded inv0.92.0

Aggregation sets the optional parameter "aggregation": Required. Aggregationtype. Available aggregation could be fetched by calling insight list and getAPIs in `BASIC` view.

Possible values:

"AGGREGATION_UNSPECIFIED" - Unspecified."HOURLY" - Insight should be aggregated at hourly level."DAILY" - Insight should be aggregated at daily level."WEEKLY" - Insight should be aggregated at weekly level."MONTHLY" - Insight should be aggregated at monthly level."CUSTOM_DATE_RANGE" - Insight should be aggregated at the custom date

range passed in as the start and end time in the request.

func (*OrganizationsLocationsInsightsConfiguredInsightCall)Contextadded inv0.92.0

Context sets the context to be used in this call's Do method.

func (*OrganizationsLocationsInsightsConfiguredInsightCall)CustomGroupingFieldFilteradded inv0.92.0

CustomGroupingFieldFilter sets the optional parameter"customGrouping.fieldFilter": Filterable parameters to be added to thegrouping clause. Available fields could be fetched by calling insight listand get APIs in `BASIC` view. `=` is the only comparison operator supported.`AND` is the only logical operator supported. Usage:field_filter="fieldName1=fieldVal1 AND fieldName2=fieldVal2". NOTE: Only`AND` conditions are allowed. NOTE: Use the `filter_alias` from`Insight.Metadata.Field` message for the filtering the corresponding fieldsin this filter field. (These expressions are based on the filter languagedescribed athttps://google.aip.dev/160).

func (*OrganizationsLocationsInsightsConfiguredInsightCall)CustomGroupingGroupFieldsadded inv0.92.0

CustomGroupingGroupFields sets the optional parameter"customGrouping.groupFields": Required. Fields to be used for grouping.NOTE: Use the `filter_alias` from `Insight.Metadata.Field` message fordeclaring the fields to be grouped-by here.

func (*OrganizationsLocationsInsightsConfiguredInsightCall)Doadded inv0.92.0

Do executes the "beyondcorp.organizations.locations.insights.configuredInsight" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudBeyondcorpSaasplatformInsightsV1alphaConfiguredInsightResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*OrganizationsLocationsInsightsConfiguredInsightCall)EndTimeadded inv0.92.0

EndTime sets the optional parameter "endTime": Required. Ending time for theduration for which insight is to be pulled.

func (*OrganizationsLocationsInsightsConfiguredInsightCall)FieldFilteradded inv0.92.0

FieldFilter sets the optional parameter "fieldFilter": Otherfilterable/configurable parameters as applicable to the selected insight.Available fields could be fetched by calling insight list and get APIs in`BASIC` view. `=` is the only comparison operator supported. `AND` is theonly logical operator supported. Usage: field_filter="fieldName1=fieldVal1AND fieldName2=fieldVal2". NOTE: Only `AND` conditions are allowed. NOTE:Use the `filter_alias` from `Insight.Metadata.Field` message for thefiltering the corresponding fields in this filter field. (These expressionsare based on the filter language described athttps://google.aip.dev/160).

func (*OrganizationsLocationsInsightsConfiguredInsightCall)Fieldsadded inv0.92.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*OrganizationsLocationsInsightsConfiguredInsightCall)Groupadded inv0.92.0

Group sets the optional parameter "group": Group id of the availablegroupings for the insight. Available groupings could be fetched by callinginsight list and get APIs in `BASIC` view.

func (*OrganizationsLocationsInsightsConfiguredInsightCall)Headeradded inv0.92.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*OrganizationsLocationsInsightsConfiguredInsightCall)IfNoneMatchadded inv0.92.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*OrganizationsLocationsInsightsConfiguredInsightCall)PageSizeadded inv0.92.0

PageSize sets the optional parameter "pageSize": Requested page size. Servermay return fewer items than requested. If unspecified, server will pick anappropriate default.

func (*OrganizationsLocationsInsightsConfiguredInsightCall)PageTokenadded inv0.92.0

PageToken sets the optional parameter "pageToken": Used to fetch the pagerepresented by the token. Fetches the first page when not set.

func (*OrganizationsLocationsInsightsConfiguredInsightCall)Pagesadded inv0.92.0

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

func (*OrganizationsLocationsInsightsConfiguredInsightCall)StartTimeadded inv0.92.0

StartTime sets the optional parameter "startTime": Required. Starting timefor the duration for which insight is to be pulled.

typeOrganizationsLocationsInsightsGetCalladded inv0.92.0

type OrganizationsLocationsInsightsGetCall struct {// contains filtered or unexported fields}

func (*OrganizationsLocationsInsightsGetCall)Contextadded inv0.92.0

Context sets the context to be used in this call's Do method.

func (*OrganizationsLocationsInsightsGetCall)Doadded inv0.92.0

Do executes the "beyondcorp.organizations.locations.insights.get" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header.Use googleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*OrganizationsLocationsInsightsGetCall)Fieldsadded inv0.92.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*OrganizationsLocationsInsightsGetCall)Headeradded inv0.92.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*OrganizationsLocationsInsightsGetCall)IfNoneMatchadded inv0.92.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*OrganizationsLocationsInsightsGetCall)Viewadded inv0.92.0

View sets the optional parameter "view": Required. Metadata only or fulldata view.

Possible values:

"INSIGHT_VIEW_UNSPECIFIED" - The default / unset value. The API will

default to the BASIC view.

"BASIC" - Include basic metadata about the insight, but not the insight

data. This is the default value (for both ListInsights and GetInsight).

"FULL" - Include everything.

typeOrganizationsLocationsInsightsListCalladded inv0.92.0

type OrganizationsLocationsInsightsListCall struct {// contains filtered or unexported fields}

func (*OrganizationsLocationsInsightsListCall)Aggregationadded inv0.191.0

Aggregation sets the optional parameter "aggregation": Aggregation type. Thedefault is 'DAILY'.

Possible values:

"AGGREGATION_UNSPECIFIED" - Unspecified."HOURLY" - Insight should be aggregated at hourly level."DAILY" - Insight should be aggregated at daily level."WEEKLY" - Insight should be aggregated at weekly level."MONTHLY" - Insight should be aggregated at monthly level."CUSTOM_DATE_RANGE" - Insight should be aggregated at the custom date

range passed in as the start and end time in the request.

func (*OrganizationsLocationsInsightsListCall)Contextadded inv0.92.0

Context sets the context to be used in this call's Do method.

func (*OrganizationsLocationsInsightsListCall)Doadded inv0.92.0

Do executes the "beyondcorp.organizations.locations.insights.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*OrganizationsLocationsInsightsListCall)EndTimeadded inv0.191.0

EndTime sets the optional parameter "endTime": Ending time for the durationfor which insights are to be pulled. The default is the current time.

func (*OrganizationsLocationsInsightsListCall)Fieldsadded inv0.92.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*OrganizationsLocationsInsightsListCall)Filteradded inv0.92.0

Filter sets the optional parameter "filter": Filter expression to restrictthe insights returned. Supported filter fields: * `type` * `category` *`subCategory` Examples: * "category = application AND type = count" *"category = application AND subCategory = iap" * "type = status" Allowedvalues: * type: [count, latency, status, list] * category: [application,device, request, security] * subCategory: [iap, caa, webprotect] NOTE: Onlyequality based comparison is allowed. Only `AND` conjunction is allowed.NOTE: The 'AND' in the filter field needs to be in capital letters only.NOTE: Just filtering on `subCategory` is not allowed. It should be passed inwith the parent `category` too. (These expressions are based on the filterlanguage described athttps://google.aip.dev/160).

func (*OrganizationsLocationsInsightsListCall)Headeradded inv0.92.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*OrganizationsLocationsInsightsListCall)IfNoneMatchadded inv0.92.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*OrganizationsLocationsInsightsListCall)OrderByadded inv0.92.0

OrderBy sets the optional parameter "orderBy": Hint for how to order theresults. This is currently ignored.

func (*OrganizationsLocationsInsightsListCall)PageSizeadded inv0.92.0

PageSize sets the optional parameter "pageSize": Requested page size. Servermay return fewer items than requested. If unspecified, server will pick anappropriate default. NOTE: Default page size is 50.

func (*OrganizationsLocationsInsightsListCall)PageTokenadded inv0.92.0

PageToken sets the optional parameter "pageToken": A token identifying apage of results the server should return.

func (*OrganizationsLocationsInsightsListCall)Pagesadded inv0.92.0

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

func (*OrganizationsLocationsInsightsListCall)StartTimeadded inv0.191.0

StartTime sets the optional parameter "startTime": Starting time for theduration for which insights are to be pulled. The default is 7 days beforethe current time.

func (*OrganizationsLocationsInsightsListCall)Viewadded inv0.92.0

View sets the optional parameter "view": Required. List only metadata orfull data.

Possible values:

"INSIGHT_VIEW_UNSPECIFIED" - The default / unset value. The API will

default to the BASIC view.

"BASIC" - Include basic metadata about the insight, but not the insight

data. This is the default value (for both ListInsights and GetInsight).

"FULL" - Include everything.

typeOrganizationsLocationsInsightsServiceadded inv0.92.0

type OrganizationsLocationsInsightsService struct {// contains filtered or unexported fields}

funcNewOrganizationsLocationsInsightsServiceadded inv0.92.0

func NewOrganizationsLocationsInsightsService(s *Service) *OrganizationsLocationsInsightsService

func (*OrganizationsLocationsInsightsService)ConfiguredInsightadded inv0.92.0

ConfiguredInsight: Gets the value for a selected particular insight based onthe provided filters. Use the organization level path for fetching at orglevel and project level path for fetching the insight value specific to aparticular project.

  • insight: The resource name of the insight using the form:`organizations/{organization_id}/locations/{location_id}/insights/{insight_id}``projects/{project_id}/locations/{location_id}/insights/{insight_id}`.

func (*OrganizationsLocationsInsightsService)Getadded inv0.92.0

Get: Gets the value for a selected particular insight with defaultconfiguration. The default aggregation level is 'DAILY' and no grouping willbe applied or default grouping if applicable. The data will be returned forrecent 7 days starting the day before. The insight data size will be limitedto 50 rows. Use the organization level path for fetching at org level andproject level path for fetching the insight value specific to a particularproject. Setting the `view` to `BASIC` will only return the metadata for theinsight.

  • name: The resource name of the insight using the form:`organizations/{organization_id}/locations/{location_id}/insights/{insight_id}` `projects/{project_id}/locations/{location_id}/insights/{insight_id}`.

func (*OrganizationsLocationsInsightsService)Listadded inv0.92.0

List: Lists for all the available insights that could be fetched from thesystem. Allows to filter using category. Setting the `view` to `BASIC` willlet you iterate over the list of insight metadatas.

  • parent: The resource name of InsightMetadata using the form:`organizations/{organization_id}/locations/{location}``projects/{project_id}/locations/{location_id}`.

typeOrganizationsLocationsOperationsCancelCalladded inv0.129.0

type OrganizationsLocationsOperationsCancelCall struct {// contains filtered or unexported fields}

func (*OrganizationsLocationsOperationsCancelCall)Contextadded inv0.129.0

Context sets the context to be used in this call's Do method.

func (*OrganizationsLocationsOperationsCancelCall)Doadded inv0.129.0

Do executes the "beyondcorp.organizations.locations.operations.cancel" call.Any non-2xx status code is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*OrganizationsLocationsOperationsCancelCall)Fieldsadded inv0.129.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*OrganizationsLocationsOperationsCancelCall)Headeradded inv0.129.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeOrganizationsLocationsOperationsDeleteCalladded inv0.129.0

type OrganizationsLocationsOperationsDeleteCall struct {// contains filtered or unexported fields}

func (*OrganizationsLocationsOperationsDeleteCall)Contextadded inv0.129.0

Context sets the context to be used in this call's Do method.

func (*OrganizationsLocationsOperationsDeleteCall)Doadded inv0.129.0

Do executes the "beyondcorp.organizations.locations.operations.delete" call.Any non-2xx status code is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*OrganizationsLocationsOperationsDeleteCall)Fieldsadded inv0.129.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*OrganizationsLocationsOperationsDeleteCall)Headeradded inv0.129.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeOrganizationsLocationsOperationsGetCalladded inv0.129.0

type OrganizationsLocationsOperationsGetCall struct {// contains filtered or unexported fields}

func (*OrganizationsLocationsOperationsGetCall)Contextadded inv0.129.0

Context sets the context to be used in this call's Do method.

func (*OrganizationsLocationsOperationsGetCall)Doadded inv0.129.0

Do executes the "beyondcorp.organizations.locations.operations.get" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*OrganizationsLocationsOperationsGetCall)Fieldsadded inv0.129.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*OrganizationsLocationsOperationsGetCall)Headeradded inv0.129.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*OrganizationsLocationsOperationsGetCall)IfNoneMatchadded inv0.129.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeOrganizationsLocationsOperationsListCalladded inv0.129.0

type OrganizationsLocationsOperationsListCall struct {// contains filtered or unexported fields}

func (*OrganizationsLocationsOperationsListCall)Contextadded inv0.129.0

Context sets the context to be used in this call's Do method.

func (*OrganizationsLocationsOperationsListCall)Doadded inv0.129.0

Do executes the "beyondcorp.organizations.locations.operations.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*OrganizationsLocationsOperationsListCall)Fieldsadded inv0.129.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*OrganizationsLocationsOperationsListCall)Filteradded inv0.129.0

Filter sets the optional parameter "filter": The standard list filter.

func (*OrganizationsLocationsOperationsListCall)Headeradded inv0.129.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*OrganizationsLocationsOperationsListCall)IfNoneMatchadded inv0.129.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*OrganizationsLocationsOperationsListCall)PageSizeadded inv0.129.0

PageSize sets the optional parameter "pageSize": The standard list pagesize.

func (*OrganizationsLocationsOperationsListCall)PageTokenadded inv0.129.0

PageToken sets the optional parameter "pageToken": The standard list pagetoken.

func (*OrganizationsLocationsOperationsListCall)Pagesadded inv0.129.0

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

func (*OrganizationsLocationsOperationsListCall)ReturnPartialSuccessadded inv0.253.0

ReturnPartialSuccess sets the optional parameter "returnPartialSuccess":When set to `true`, operations that are reachable are returned as normal,and those that are unreachable are returned in the[ListOperationsResponse.unreachable] field. This can only be `true` whenreading across collections e.g. when `parent` is set to"projects/example/locations/-". This field is not by default supported andwill result in an `UNIMPLEMENTED` error if set unless explicitly documentedotherwise in service or product specific documentation.

typeOrganizationsLocationsOperationsServiceadded inv0.129.0

type OrganizationsLocationsOperationsService struct {// contains filtered or unexported fields}

funcNewOrganizationsLocationsOperationsServiceadded inv0.129.0

func NewOrganizationsLocationsOperationsService(s *Service) *OrganizationsLocationsOperationsService

func (*OrganizationsLocationsOperationsService)Canceladded inv0.129.0

Cancel: Starts asynchronous cancellation on a long-running operation. Theserver makes a best effort to cancel the operation, but success is notguaranteed. If the server doesn't support this method, it returns`google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation orother methods to check whether the cancellation succeeded or whether theoperation completed despite cancellation. On successful cancellation, theoperation is not deleted; instead, it becomes an operation with anOperation.error value with a google.rpc.Status.code of `1`, corresponding to`Code.CANCELLED`.

- name: The name of the operation resource to be cancelled.

func (*OrganizationsLocationsOperationsService)Deleteadded inv0.129.0

Delete: Deletes a long-running operation. This method indicates that theclient is no longer interested in the operation result. It does not cancelthe operation. If the server doesn't support this method, it returns`google.rpc.Code.UNIMPLEMENTED`.

- name: The name of the operation resource to be deleted.

func (*OrganizationsLocationsOperationsService)Getadded inv0.129.0

Get: Gets the latest state of a long-running operation. Clients can use thismethod to poll the operation result at intervals as recommended by the APIservice.

- name: The name of the operation resource.

func (*OrganizationsLocationsOperationsService)Listadded inv0.129.0

List: Lists operations that match the specified filter in the request. Ifthe server doesn't support this method, it returns `UNIMPLEMENTED`.

- name: The name of the operation's parent resource.

typeOrganizationsLocationsServiceadded inv0.92.0

type OrganizationsLocationsService struct {Global *OrganizationsLocationsGlobalServiceInsights *OrganizationsLocationsInsightsServiceOperations *OrganizationsLocationsOperationsServiceSubscriptions *OrganizationsLocationsSubscriptionsService// contains filtered or unexported fields}

funcNewOrganizationsLocationsServiceadded inv0.92.0

func NewOrganizationsLocationsService(s *Service) *OrganizationsLocationsService

typeOrganizationsLocationsSubscriptionsCancelCalladded inv0.178.0

type OrganizationsLocationsSubscriptionsCancelCall struct {// contains filtered or unexported fields}

func (*OrganizationsLocationsSubscriptionsCancelCall)Contextadded inv0.178.0

Context sets the context to be used in this call's Do method.

func (*OrganizationsLocationsSubscriptionsCancelCall)Doadded inv0.178.0

Do executes the "beyondcorp.organizations.locations.subscriptions.cancel" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaCancelSubscriptionResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*OrganizationsLocationsSubscriptionsCancelCall)Fieldsadded inv0.178.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*OrganizationsLocationsSubscriptionsCancelCall)Headeradded inv0.178.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*OrganizationsLocationsSubscriptionsCancelCall)IfNoneMatchadded inv0.178.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*OrganizationsLocationsSubscriptionsCancelCall)RequestIdadded inv0.178.0

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes afterthe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

typeOrganizationsLocationsSubscriptionsCreateCalladded inv0.101.0

type OrganizationsLocationsSubscriptionsCreateCall struct {// contains filtered or unexported fields}

func (*OrganizationsLocationsSubscriptionsCreateCall)Contextadded inv0.101.0

Context sets the context to be used in this call's Do method.

func (*OrganizationsLocationsSubscriptionsCreateCall)Doadded inv0.101.0

Do executes the "beyondcorp.organizations.locations.subscriptions.create" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*OrganizationsLocationsSubscriptionsCreateCall)Fieldsadded inv0.101.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*OrganizationsLocationsSubscriptionsCreateCall)Headeradded inv0.101.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeOrganizationsLocationsSubscriptionsGetCalladded inv0.101.0

type OrganizationsLocationsSubscriptionsGetCall struct {// contains filtered or unexported fields}

func (*OrganizationsLocationsSubscriptionsGetCall)Contextadded inv0.101.0

Context sets the context to be used in this call's Do method.

func (*OrganizationsLocationsSubscriptionsGetCall)Doadded inv0.101.0

Do executes the "beyondcorp.organizations.locations.subscriptions.get" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*OrganizationsLocationsSubscriptionsGetCall)Fieldsadded inv0.101.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*OrganizationsLocationsSubscriptionsGetCall)Headeradded inv0.101.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*OrganizationsLocationsSubscriptionsGetCall)IfNoneMatchadded inv0.101.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeOrganizationsLocationsSubscriptionsListCalladded inv0.101.0

type OrganizationsLocationsSubscriptionsListCall struct {// contains filtered or unexported fields}

func (*OrganizationsLocationsSubscriptionsListCall)Contextadded inv0.101.0

Context sets the context to be used in this call's Do method.

func (*OrganizationsLocationsSubscriptionsListCall)Doadded inv0.101.0

Do executes the "beyondcorp.organizations.locations.subscriptions.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaListSubscriptionsResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*OrganizationsLocationsSubscriptionsListCall)Fieldsadded inv0.101.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*OrganizationsLocationsSubscriptionsListCall)Headeradded inv0.101.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*OrganizationsLocationsSubscriptionsListCall)IfNoneMatchadded inv0.101.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*OrganizationsLocationsSubscriptionsListCall)PageSizeadded inv0.101.0

PageSize sets the optional parameter "pageSize": The maximum number of itemsto return. If not specified, a default value of 50 will be used by theservice. Regardless of the page_size value, the response may include apartial list and a caller should only rely on response's next_page_token todetermine if there are more instances left to be queried.

func (*OrganizationsLocationsSubscriptionsListCall)PageTokenadded inv0.101.0

PageToken sets the optional parameter "pageToken": The next_page_token valuereturned from a previous ListSubscriptionsRequest, if any.

func (*OrganizationsLocationsSubscriptionsListCall)Pagesadded inv0.101.0

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

typeOrganizationsLocationsSubscriptionsPatchCalladded inv0.177.0

type OrganizationsLocationsSubscriptionsPatchCall struct {// contains filtered or unexported fields}

func (*OrganizationsLocationsSubscriptionsPatchCall)Contextadded inv0.177.0

Context sets the context to be used in this call's Do method.

func (*OrganizationsLocationsSubscriptionsPatchCall)Doadded inv0.177.0

Do executes the "beyondcorp.organizations.locations.subscriptions.patch" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaSubscription.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*OrganizationsLocationsSubscriptionsPatchCall)Fieldsadded inv0.177.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*OrganizationsLocationsSubscriptionsPatchCall)Headeradded inv0.177.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*OrganizationsLocationsSubscriptionsPatchCall)RequestIdadded inv0.177.0

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*OrganizationsLocationsSubscriptionsPatchCall)UpdateMaskadded inv0.177.0

UpdateMask sets the optional parameter "updateMask": Required. Field mask isused to specify the fields to be overwritten in the Subscription resource bythe update. The fields specified in the update_mask are relative to theresource, not the full request. A field will be overwritten if it is in themask. Mutable fields: seat_count.

typeOrganizationsLocationsSubscriptionsRestartCalladded inv0.182.0

type OrganizationsLocationsSubscriptionsRestartCall struct {// contains filtered or unexported fields}

func (*OrganizationsLocationsSubscriptionsRestartCall)Contextadded inv0.182.0

Context sets the context to be used in this call's Do method.

func (*OrganizationsLocationsSubscriptionsRestartCall)Doadded inv0.182.0

Do executes the "beyondcorp.organizations.locations.subscriptions.restart" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudBeyondcorpSaasplatformSubscriptionsV1alphaRestartSubscriptionResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*OrganizationsLocationsSubscriptionsRestartCall)Fieldsadded inv0.182.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*OrganizationsLocationsSubscriptionsRestartCall)Headeradded inv0.182.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*OrganizationsLocationsSubscriptionsRestartCall)IfNoneMatchadded inv0.182.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*OrganizationsLocationsSubscriptionsRestartCall)RequestIdadded inv0.182.0

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes afterthe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

typeOrganizationsLocationsSubscriptionsServiceadded inv0.101.0

type OrganizationsLocationsSubscriptionsService struct {// contains filtered or unexported fields}

funcNewOrganizationsLocationsSubscriptionsServiceadded inv0.101.0

func NewOrganizationsLocationsSubscriptionsService(s *Service) *OrganizationsLocationsSubscriptionsService

func (*OrganizationsLocationsSubscriptionsService)Canceladded inv0.178.0

Cancel: Cancels an existing BeyondCorp Enterprise Subscription in a givenorganization. Location will always be global as BeyondCorp subscriptions areper organization. Returns the timestamp for when the cancellation willbecome effective

- name: Name of the resource.

func (*OrganizationsLocationsSubscriptionsService)Createadded inv0.101.0

Create: Creates a new BeyondCorp Enterprise Subscription in a givenorganization. Location will always be global as BeyondCorp subscriptions areper organization.

  • parent: The resource name of the subscription location using the form:`organizations/{organization_id}/locations/{location}`.

func (*OrganizationsLocationsSubscriptionsService)Getadded inv0.101.0

Get: Gets details of a single Subscription.

  • name: The resource name of Subscription using the form:`organizations/{organization_id}/locations/{location}/subscriptions/{subscription_id}`.

func (*OrganizationsLocationsSubscriptionsService)Listadded inv0.101.0

List: Lists Subscriptions in a given organization and location.

  • parent: The resource name of Subscription using the form:`organizations/{organization_id}/locations/{location}`.

func (*OrganizationsLocationsSubscriptionsService)Patchadded inv0.177.0

Patch: Updates an existing BeyondCorp Enterprise Subscription in a givenorganization. Location will always be global as BeyondCorp subscriptions areper organization.

  • name: Identifier. Unique resource name of the Subscription. The name isignored when creating a subscription.

func (*OrganizationsLocationsSubscriptionsService)Restartadded inv0.182.0

Restart: Restarts an existing BeyondCorp Enterprise Subscription in a givenorganization, that is scheduled for cancellation. Location will always beglobal as BeyondCorp subscriptions are per organization. Returns thetimestamp for when the cancellation will become effective

- name: Name of the resource.

typeOrganizationsServiceadded inv0.92.0

type OrganizationsService struct {Locations *OrganizationsLocationsService// contains filtered or unexported fields}

funcNewOrganizationsServiceadded inv0.92.0

func NewOrganizationsService(s *Service) *OrganizationsService

typePrincipalInfo

type PrincipalInfo struct {// ServiceAccount: A GCP service account.ServiceAccount *ServiceAccount `json:"serviceAccount,omitempty"`// ForceSendFields is a list of field names (e.g. "ServiceAccount") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ServiceAccount") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

PrincipalInfo: PrincipalInfo represents an Identity oneof.

func (PrincipalInfo)MarshalJSON

func (sPrincipalInfo) MarshalJSON() ([]byte,error)

typeProjectsLocationsAppConnectionsCreateCall

type ProjectsLocationsAppConnectionsCreateCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsAppConnectionsCreateCall)AppConnectionId

AppConnectionId sets the optional parameter "appConnectionId": User-settableAppConnection resource ID. * Must start with a letter. * Must containbetween 4-63 characters from `/a-z-/`. * Must end with a number or a letter.

func (*ProjectsLocationsAppConnectionsCreateCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsAppConnectionsCreateCall)Do

Do executes the "beyondcorp.projects.locations.appConnections.create" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsAppConnectionsCreateCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAppConnectionsCreateCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsAppConnectionsCreateCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsAppConnectionsCreateCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set, validatesrequest by executing a dry-run which would not alter the resource in anyway.

typeProjectsLocationsAppConnectionsDeleteCall

type ProjectsLocationsAppConnectionsDeleteCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsAppConnectionsDeleteCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsAppConnectionsDeleteCall)Do

Do executes the "beyondcorp.projects.locations.appConnections.delete" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsAppConnectionsDeleteCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAppConnectionsDeleteCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsAppConnectionsDeleteCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes afterthe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsAppConnectionsDeleteCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set, validatesrequest by executing a dry-run which would not alter the resource in anyway.

typeProjectsLocationsAppConnectionsGetCall

type ProjectsLocationsAppConnectionsGetCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsAppConnectionsGetCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsAppConnectionsGetCall)Do

Do executes the "beyondcorp.projects.locations.appConnections.get" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudBeyondcorpAppconnectionsV1alphaAppConnection.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header.Use googleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsAppConnectionsGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAppConnectionsGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsAppConnectionsGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsAppConnectionsGetIamPolicyCall

type ProjectsLocationsAppConnectionsGetIamPolicyCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsAppConnectionsGetIamPolicyCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsAppConnectionsGetIamPolicyCall)Do

Do executes the "beyondcorp.projects.locations.appConnections.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*GoogleIamV1Policy.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsAppConnectionsGetIamPolicyCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAppConnectionsGetIamPolicyCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsAppConnectionsGetIamPolicyCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsAppConnectionsGetIamPolicyCall)OptionsRequestedPolicyVersion

func (c *ProjectsLocationsAppConnectionsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsAppConnectionsGetIamPolicyCall

OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).

typeProjectsLocationsAppConnectionsListCall

type ProjectsLocationsAppConnectionsListCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsAppConnectionsListCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsAppConnectionsListCall)Do

Do executes the "beyondcorp.projects.locations.appConnections.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudBeyondcorpAppconnectionsV1alphaListAppConnectionsResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsAppConnectionsListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAppConnectionsListCall)Filter

Filter sets the optional parameter "filter": A filter specifying constraintsof a list operation.

func (*ProjectsLocationsAppConnectionsListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsAppConnectionsListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsAppConnectionsListCall)OrderBy

OrderBy sets the optional parameter "orderBy": Specifies the ordering ofresults. See Sorting order(https://cloud.google.com/apis/design/design_patterns#sorting_order) formore information.

func (*ProjectsLocationsAppConnectionsListCall)PageSize

PageSize sets the optional parameter "pageSize": The maximum number of itemsto return. If not specified, a default value of 50 will be used by theservice. Regardless of the page_size value, the response may include apartial list and a caller should only rely on response's next_page_token todetermine if there are more instances left to be queried.

func (*ProjectsLocationsAppConnectionsListCall)PageToken

PageToken sets the optional parameter "pageToken": The next_page_token valuereturned from a previous ListAppConnectionsRequest, if any.

func (*ProjectsLocationsAppConnectionsListCall)Pages

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

typeProjectsLocationsAppConnectionsPatchCall

type ProjectsLocationsAppConnectionsPatchCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsAppConnectionsPatchCall)AllowMissing

AllowMissing sets the optional parameter "allowMissing": If set as true,will create the resource if it is not found.

func (*ProjectsLocationsAppConnectionsPatchCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsAppConnectionsPatchCall)Do

Do executes the "beyondcorp.projects.locations.appConnections.patch" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsAppConnectionsPatchCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAppConnectionsPatchCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsAppConnectionsPatchCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsAppConnectionsPatchCall)UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. Mask offields to update. At least one path must be supplied in this field. Theelements of the repeated paths field may only include these fields from[BeyondCorp.AppConnection]: * `labels` * `display_name` *`application_endpoint` * `connectors`

func (*ProjectsLocationsAppConnectionsPatchCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set, validatesrequest by executing a dry-run which would not alter the resource in anyway.

typeProjectsLocationsAppConnectionsResolveCall

type ProjectsLocationsAppConnectionsResolveCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsAppConnectionsResolveCall)AppConnectorId

AppConnectorId sets the optional parameter "appConnectorId": Required.BeyondCorp Connector name of the connector associated with thoseAppConnections using the form:`projects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}`

func (*ProjectsLocationsAppConnectionsResolveCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsAppConnectionsResolveCall)Do

Do executes the "beyondcorp.projects.locations.appConnections.resolve" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudBeyondcorpAppconnectionsV1alphaResolveAppConnectionsResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsAppConnectionsResolveCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAppConnectionsResolveCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsAppConnectionsResolveCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsAppConnectionsResolveCall)PageSize

PageSize sets the optional parameter "pageSize": The maximum number of itemsto return. If not specified, a default value of 50 will be used by theservice. Regardless of the page_size value, the response may include apartial list and a caller should only rely on response's next_page_token todetermine if there are more instances left to be queried.

func (*ProjectsLocationsAppConnectionsResolveCall)PageToken

PageToken sets the optional parameter "pageToken": The next_page_token valuereturned from a previous ResolveAppConnectionsResponse, if any.

func (*ProjectsLocationsAppConnectionsResolveCall)Pages

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

typeProjectsLocationsAppConnectionsService

type ProjectsLocationsAppConnectionsService struct {// contains filtered or unexported fields}

func (*ProjectsLocationsAppConnectionsService)Create

Create: Creates a new AppConnection in a given project and location.

  • parent: The resource project name of the AppConnection location using theform: `projects/{project_id}/locations/{location_id}`.

func (*ProjectsLocationsAppConnectionsService)Delete

Delete: Deletes a single AppConnection.

  • name: BeyondCorp Connector name using the form:`projects/{project_id}/locations/{location_id}/appConnections/{app_connection_id}`.

func (*ProjectsLocationsAppConnectionsService)Get

Get: Gets details of a single AppConnection.

  • name: BeyondCorp AppConnection name using the form:`projects/{project_id}/locations/{location_id}/appConnections/{app_connection_id}`.

func (*ProjectsLocationsAppConnectionsService)GetIamPolicy

GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.

func (*ProjectsLocationsAppConnectionsService)List

List: Lists AppConnections in a given project and location.

  • parent: The resource name of the AppConnection location using the form:`projects/{project_id}/locations/{location_id}`.

func (*ProjectsLocationsAppConnectionsService)Patch

Patch: Updates the parameters of a single AppConnection.

  • name: Unique resource name of the AppConnection. The name is ignored whencreating a AppConnection.

func (*ProjectsLocationsAppConnectionsService)Resolve

Resolve: Resolves AppConnections details for a given AppConnector. Aninternal method called by a connector to find AppConnections to connect to.

  • parent: The resource name of the AppConnection location using the form:`projects/{project_id}/locations/{location_id}`.

func (*ProjectsLocationsAppConnectionsService)SetIamPolicy

SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.

func (*ProjectsLocationsAppConnectionsService)TestIamPermissions

TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.

typeProjectsLocationsAppConnectionsSetIamPolicyCall

type ProjectsLocationsAppConnectionsSetIamPolicyCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsAppConnectionsSetIamPolicyCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsAppConnectionsSetIamPolicyCall)Do

Do executes the "beyondcorp.projects.locations.appConnections.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*GoogleIamV1Policy.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsAppConnectionsSetIamPolicyCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAppConnectionsSetIamPolicyCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsAppConnectionsTestIamPermissionsCall

type ProjectsLocationsAppConnectionsTestIamPermissionsCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsAppConnectionsTestIamPermissionsCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsAppConnectionsTestIamPermissionsCall)Do

Do executes the "beyondcorp.projects.locations.appConnections.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*GoogleIamV1TestIamPermissionsResponse.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsAppConnectionsTestIamPermissionsCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAppConnectionsTestIamPermissionsCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsAppConnectorsCreateCall

type ProjectsLocationsAppConnectorsCreateCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsAppConnectorsCreateCall)AppConnectorId

AppConnectorId sets the optional parameter "appConnectorId": User-settableAppConnector resource ID. * Must start with a letter. * Must contain between4-63 characters from `/a-z-/`. * Must end with a number or a letter.

func (*ProjectsLocationsAppConnectorsCreateCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsAppConnectorsCreateCall)Do

Do executes the "beyondcorp.projects.locations.appConnectors.create" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsAppConnectorsCreateCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAppConnectorsCreateCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsAppConnectorsCreateCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsAppConnectorsCreateCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set, validatesrequest by executing a dry-run which would not alter the resource in anyway.

typeProjectsLocationsAppConnectorsDeleteCall

type ProjectsLocationsAppConnectorsDeleteCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsAppConnectorsDeleteCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsAppConnectorsDeleteCall)Do

Do executes the "beyondcorp.projects.locations.appConnectors.delete" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsAppConnectorsDeleteCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAppConnectorsDeleteCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsAppConnectorsDeleteCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes afterthe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsAppConnectorsDeleteCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set, validatesrequest by executing a dry-run which would not alter the resource in anyway.

typeProjectsLocationsAppConnectorsGetCall

type ProjectsLocationsAppConnectorsGetCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsAppConnectorsGetCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsAppConnectorsGetCall)Do

Do executes the "beyondcorp.projects.locations.appConnectors.get" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudBeyondcorpAppconnectorsV1alphaAppConnector.ServerResponse.Headeror (if a response was returned at all) in error.(*googleapi.Error).Header.Use googleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsAppConnectorsGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAppConnectorsGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsAppConnectorsGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsAppConnectorsGetIamPolicyCall

type ProjectsLocationsAppConnectorsGetIamPolicyCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsAppConnectorsGetIamPolicyCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsAppConnectorsGetIamPolicyCall)Do

Do executes the "beyondcorp.projects.locations.appConnectors.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*GoogleIamV1Policy.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsAppConnectorsGetIamPolicyCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAppConnectorsGetIamPolicyCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsAppConnectorsGetIamPolicyCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsAppConnectorsGetIamPolicyCall)OptionsRequestedPolicyVersion

func (c *ProjectsLocationsAppConnectorsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsAppConnectorsGetIamPolicyCall

OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).

typeProjectsLocationsAppConnectorsListCall

type ProjectsLocationsAppConnectorsListCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsAppConnectorsListCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsAppConnectorsListCall)Do

Do executes the "beyondcorp.projects.locations.appConnectors.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudBeyondcorpAppconnectorsV1alphaListAppConnectorsResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsAppConnectorsListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAppConnectorsListCall)Filter

Filter sets the optional parameter "filter": A filter specifying constraintsof a list operation.

func (*ProjectsLocationsAppConnectorsListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsAppConnectorsListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsAppConnectorsListCall)OrderBy

OrderBy sets the optional parameter "orderBy": Specifies the ordering ofresults. See Sorting order(https://cloud.google.com/apis/design/design_patterns#sorting_order) formore information.

func (*ProjectsLocationsAppConnectorsListCall)PageSize

PageSize sets the optional parameter "pageSize": The maximum number of itemsto return. If not specified, a default value of 50 will be used by theservice. Regardless of the page_size value, the response may include apartial list and a caller should only rely on response's next_page_token todetermine if there are more instances left to be queried.

func (*ProjectsLocationsAppConnectorsListCall)PageToken

PageToken sets the optional parameter "pageToken": The next_page_token valuereturned from a previous ListAppConnectorsRequest, if any.

func (*ProjectsLocationsAppConnectorsListCall)Pages

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

typeProjectsLocationsAppConnectorsPatchCall

type ProjectsLocationsAppConnectorsPatchCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsAppConnectorsPatchCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsAppConnectorsPatchCall)Do

Do executes the "beyondcorp.projects.locations.appConnectors.patch" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsAppConnectorsPatchCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAppConnectorsPatchCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsAppConnectorsPatchCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsAppConnectorsPatchCall)UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. Mask offields to update. At least one path must be supplied in this field. Theelements of the repeated paths field may only include these fields from[BeyondCorp.AppConnector]: * `labels` * `display_name`

func (*ProjectsLocationsAppConnectorsPatchCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set, validatesrequest by executing a dry-run which would not alter the resource in anyway.

typeProjectsLocationsAppConnectorsReportStatusCall

type ProjectsLocationsAppConnectorsReportStatusCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsAppConnectorsReportStatusCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsAppConnectorsReportStatusCall)Do

Do executes the "beyondcorp.projects.locations.appConnectors.reportStatus" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsAppConnectorsReportStatusCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAppConnectorsReportStatusCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsAppConnectorsResolveInstanceConfigCall

type ProjectsLocationsAppConnectorsResolveInstanceConfigCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsAppConnectorsResolveInstanceConfigCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsAppConnectorsResolveInstanceConfigCall)Do

Do executes the "beyondcorp.projects.locations.appConnectors.resolveInstanceConfig" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudBeyondcorpAppconnectorsV1alphaResolveInstanceConfigResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsAppConnectorsResolveInstanceConfigCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAppConnectorsResolveInstanceConfigCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsAppConnectorsResolveInstanceConfigCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsAppConnectorsService

type ProjectsLocationsAppConnectorsService struct {// contains filtered or unexported fields}

func (*ProjectsLocationsAppConnectorsService)Create

Create: Creates a new AppConnector in a given project and location.

  • parent: The resource project name of the AppConnector location using theform: `projects/{project_id}/locations/{location_id}`.

func (*ProjectsLocationsAppConnectorsService)Delete

Delete: Deletes a single AppConnector.

  • name: BeyondCorp AppConnector name using the form:`projects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}`.

func (*ProjectsLocationsAppConnectorsService)Get

Get: Gets details of a single AppConnector.

  • name: BeyondCorp AppConnector name using the form:`projects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}`.

func (*ProjectsLocationsAppConnectorsService)GetIamPolicy

GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.

func (*ProjectsLocationsAppConnectorsService)List

List: Lists AppConnectors in a given project and location.

  • parent: The resource name of the AppConnector location using the form:`projects/{project_id}/locations/{location_id}`.

func (*ProjectsLocationsAppConnectorsService)Patch

Patch: Updates the parameters of a single AppConnector.

  • name: Unique resource name of the AppConnector. The name is ignored whencreating a AppConnector.

func (*ProjectsLocationsAppConnectorsService)ReportStatus

func (r *ProjectsLocationsAppConnectorsService) ReportStatus(appConnectorstring, googlecloudbeyondcorpappconnectorsv1alphareportstatusrequest *GoogleCloudBeyondcorpAppconnectorsV1alphaReportStatusRequest) *ProjectsLocationsAppConnectorsReportStatusCall

ReportStatus: Report status for a given connector.

  • appConnector: BeyondCorp Connector name using the form:`projects/{project_id}/locations/{location_id}/connectors/{connector}`.

func (*ProjectsLocationsAppConnectorsService)ResolveInstanceConfig

ResolveInstanceConfig: Gets instance configuration for a given AppConnector.An internal method called by a AppConnector to get its container config.

  • appConnector: BeyondCorp AppConnector name using the form:`projects/{project_id}/locations/{location_id}/appConnectors/{app_connector}`.

func (*ProjectsLocationsAppConnectorsService)SetIamPolicy

SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.

func (*ProjectsLocationsAppConnectorsService)TestIamPermissions

TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.

typeProjectsLocationsAppConnectorsSetIamPolicyCall

type ProjectsLocationsAppConnectorsSetIamPolicyCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsAppConnectorsSetIamPolicyCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsAppConnectorsSetIamPolicyCall)Do

Do executes the "beyondcorp.projects.locations.appConnectors.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*GoogleIamV1Policy.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsAppConnectorsSetIamPolicyCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAppConnectorsSetIamPolicyCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsAppConnectorsTestIamPermissionsCall

type ProjectsLocationsAppConnectorsTestIamPermissionsCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsAppConnectorsTestIamPermissionsCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsAppConnectorsTestIamPermissionsCall)Do

Do executes the "beyondcorp.projects.locations.appConnectors.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*GoogleIamV1TestIamPermissionsResponse.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsAppConnectorsTestIamPermissionsCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAppConnectorsTestIamPermissionsCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsAppGatewaysCreateCall

type ProjectsLocationsAppGatewaysCreateCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsAppGatewaysCreateCall)AppGatewayId

AppGatewayId sets the optional parameter "appGatewayId": User-settableAppGateway resource ID. * Must start with a letter. * Must contain between4-63 characters from `/a-z-/`. * Must end with a number or a letter.

func (*ProjectsLocationsAppGatewaysCreateCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsAppGatewaysCreateCall)Do

Do executes the "beyondcorp.projects.locations.appGateways.create" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsAppGatewaysCreateCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAppGatewaysCreateCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsAppGatewaysCreateCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsAppGatewaysCreateCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set, validatesrequest by executing a dry-run which would not alter the resource in anyway.

typeProjectsLocationsAppGatewaysDeleteCall

type ProjectsLocationsAppGatewaysDeleteCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsAppGatewaysDeleteCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsAppGatewaysDeleteCall)Do

Do executes the "beyondcorp.projects.locations.appGateways.delete" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsAppGatewaysDeleteCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAppGatewaysDeleteCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsAppGatewaysDeleteCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes afterthe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsAppGatewaysDeleteCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set, validatesrequest by executing a dry-run which would not alter the resource in anyway.

typeProjectsLocationsAppGatewaysGetCall

type ProjectsLocationsAppGatewaysGetCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsAppGatewaysGetCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsAppGatewaysGetCall)Do

Do executes the "beyondcorp.projects.locations.appGateways.get" call.Any non-2xx status code is an error. Response headers are in either*AppGateway.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsAppGatewaysGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAppGatewaysGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsAppGatewaysGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsAppGatewaysGetIamPolicyCall

type ProjectsLocationsAppGatewaysGetIamPolicyCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsAppGatewaysGetIamPolicyCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsAppGatewaysGetIamPolicyCall)Do

Do executes the "beyondcorp.projects.locations.appGateways.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*GoogleIamV1Policy.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsAppGatewaysGetIamPolicyCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAppGatewaysGetIamPolicyCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsAppGatewaysGetIamPolicyCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsAppGatewaysGetIamPolicyCall)OptionsRequestedPolicyVersion

func (c *ProjectsLocationsAppGatewaysGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsAppGatewaysGetIamPolicyCall

OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).

typeProjectsLocationsAppGatewaysListCall

type ProjectsLocationsAppGatewaysListCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsAppGatewaysListCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsAppGatewaysListCall)Do

Do executes the "beyondcorp.projects.locations.appGateways.list" call.Any non-2xx status code is an error. Response headers are in either*ListAppGatewaysResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsAppGatewaysListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAppGatewaysListCall)Filter

Filter sets the optional parameter "filter": A filter specifying constraintsof a list operation.

func (*ProjectsLocationsAppGatewaysListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsAppGatewaysListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsAppGatewaysListCall)OrderBy

OrderBy sets the optional parameter "orderBy": Specifies the ordering ofresults. See Sorting order(https://cloud.google.com/apis/design/design_patterns#sorting_order) formore information.

func (*ProjectsLocationsAppGatewaysListCall)PageSize

PageSize sets the optional parameter "pageSize": The maximum number of itemsto return. If not specified, a default value of 50 will be used by theservice. Regardless of the page_size value, the response may include apartial list and a caller should only rely on response's next_page_token todetermine if there are more instances left to be queried.

func (*ProjectsLocationsAppGatewaysListCall)PageToken

PageToken sets the optional parameter "pageToken": The next_page_token valuereturned from a previous ListAppGatewaysRequest, if any.

func (*ProjectsLocationsAppGatewaysListCall)Pages

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

typeProjectsLocationsAppGatewaysService

type ProjectsLocationsAppGatewaysService struct {// contains filtered or unexported fields}

func (*ProjectsLocationsAppGatewaysService)Create

Create: Creates a new AppGateway in a given project and location.

  • parent: The resource project name of the AppGateway location using theform: `projects/{project_id}/locations/{location_id}`.

func (*ProjectsLocationsAppGatewaysService)Delete

Delete: Deletes a single AppGateway.

  • name: BeyondCorp AppGateway name using the form:`projects/{project_id}/locations/{location_id}/appGateways/{app_gateway_id}`.

func (*ProjectsLocationsAppGatewaysService)Get

Get: Gets details of a single AppGateway.

  • name: BeyondCorp AppGateway name using the form:`projects/{project_id}/locations/{location_id}/appGateways/{app_gateway_id}`.

func (*ProjectsLocationsAppGatewaysService)GetIamPolicy

GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.

func (*ProjectsLocationsAppGatewaysService)List

List: Lists AppGateways in a given project and location.

  • parent: The resource name of the AppGateway location using the form:`projects/{project_id}/locations/{location_id}`.

func (*ProjectsLocationsAppGatewaysService)SetIamPolicy

SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.

func (*ProjectsLocationsAppGatewaysService)TestIamPermissions

TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.

typeProjectsLocationsAppGatewaysSetIamPolicyCall

type ProjectsLocationsAppGatewaysSetIamPolicyCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsAppGatewaysSetIamPolicyCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsAppGatewaysSetIamPolicyCall)Do

Do executes the "beyondcorp.projects.locations.appGateways.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*GoogleIamV1Policy.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsAppGatewaysSetIamPolicyCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAppGatewaysSetIamPolicyCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsAppGatewaysTestIamPermissionsCall

type ProjectsLocationsAppGatewaysTestIamPermissionsCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsAppGatewaysTestIamPermissionsCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsAppGatewaysTestIamPermissionsCall)Do

Do executes the "beyondcorp.projects.locations.appGateways.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*GoogleIamV1TestIamPermissionsResponse.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsAppGatewaysTestIamPermissionsCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsAppGatewaysTestIamPermissionsCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsApplicationDomainsGetIamPolicyCalladded inv0.140.0

type ProjectsLocationsApplicationDomainsGetIamPolicyCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsApplicationDomainsGetIamPolicyCall)Contextadded inv0.140.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsApplicationDomainsGetIamPolicyCall)Doadded inv0.140.0

Do executes the "beyondcorp.projects.locations.applicationDomains.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*GoogleIamV1Policy.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsApplicationDomainsGetIamPolicyCall)Fieldsadded inv0.140.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsApplicationDomainsGetIamPolicyCall)Headeradded inv0.140.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsApplicationDomainsGetIamPolicyCall)IfNoneMatchadded inv0.140.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsApplicationDomainsGetIamPolicyCall)OptionsRequestedPolicyVersionadded inv0.140.0

func (c *ProjectsLocationsApplicationDomainsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsApplicationDomainsGetIamPolicyCall

OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).

typeProjectsLocationsApplicationDomainsServiceadded inv0.140.0

type ProjectsLocationsApplicationDomainsService struct {// contains filtered or unexported fields}

funcNewProjectsLocationsApplicationDomainsServiceadded inv0.140.0

func NewProjectsLocationsApplicationDomainsService(s *Service) *ProjectsLocationsApplicationDomainsService

func (*ProjectsLocationsApplicationDomainsService)GetIamPolicyadded inv0.140.0

GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.

func (*ProjectsLocationsApplicationDomainsService)SetIamPolicyadded inv0.140.0

SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.

func (*ProjectsLocationsApplicationDomainsService)TestIamPermissionsadded inv0.140.0

TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.

typeProjectsLocationsApplicationDomainsSetIamPolicyCalladded inv0.140.0

type ProjectsLocationsApplicationDomainsSetIamPolicyCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsApplicationDomainsSetIamPolicyCall)Contextadded inv0.140.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsApplicationDomainsSetIamPolicyCall)Doadded inv0.140.0

Do executes the "beyondcorp.projects.locations.applicationDomains.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*GoogleIamV1Policy.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsApplicationDomainsSetIamPolicyCall)Fieldsadded inv0.140.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsApplicationDomainsSetIamPolicyCall)Headeradded inv0.140.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsApplicationDomainsTestIamPermissionsCalladded inv0.140.0

type ProjectsLocationsApplicationDomainsTestIamPermissionsCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsApplicationDomainsTestIamPermissionsCall)Contextadded inv0.140.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsApplicationDomainsTestIamPermissionsCall)Doadded inv0.140.0

Do executes the "beyondcorp.projects.locations.applicationDomains.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*GoogleIamV1TestIamPermissionsResponse.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsApplicationDomainsTestIamPermissionsCall)Fieldsadded inv0.140.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsApplicationDomainsTestIamPermissionsCall)Headeradded inv0.140.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsApplicationsGetIamPolicyCalladded inv0.86.0

type ProjectsLocationsApplicationsGetIamPolicyCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsApplicationsGetIamPolicyCall)Contextadded inv0.86.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsApplicationsGetIamPolicyCall)Doadded inv0.86.0

Do executes the "beyondcorp.projects.locations.applications.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*GoogleIamV1Policy.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsApplicationsGetIamPolicyCall)Fieldsadded inv0.86.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsApplicationsGetIamPolicyCall)Headeradded inv0.86.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsApplicationsGetIamPolicyCall)IfNoneMatchadded inv0.86.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsApplicationsGetIamPolicyCall)OptionsRequestedPolicyVersionadded inv0.86.0

func (c *ProjectsLocationsApplicationsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsApplicationsGetIamPolicyCall

OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).

typeProjectsLocationsApplicationsServiceadded inv0.86.0

type ProjectsLocationsApplicationsService struct {// contains filtered or unexported fields}

funcNewProjectsLocationsApplicationsServiceadded inv0.86.0

func NewProjectsLocationsApplicationsService(s *Service) *ProjectsLocationsApplicationsService

func (*ProjectsLocationsApplicationsService)GetIamPolicyadded inv0.86.0

GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.

func (*ProjectsLocationsApplicationsService)SetIamPolicyadded inv0.86.0

SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.

func (*ProjectsLocationsApplicationsService)TestIamPermissionsadded inv0.86.0

TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.

typeProjectsLocationsApplicationsSetIamPolicyCalladded inv0.86.0

type ProjectsLocationsApplicationsSetIamPolicyCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsApplicationsSetIamPolicyCall)Contextadded inv0.86.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsApplicationsSetIamPolicyCall)Doadded inv0.86.0

Do executes the "beyondcorp.projects.locations.applications.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*GoogleIamV1Policy.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsApplicationsSetIamPolicyCall)Fieldsadded inv0.86.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsApplicationsSetIamPolicyCall)Headeradded inv0.86.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsApplicationsTestIamPermissionsCalladded inv0.86.0

type ProjectsLocationsApplicationsTestIamPermissionsCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsApplicationsTestIamPermissionsCall)Contextadded inv0.86.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsApplicationsTestIamPermissionsCall)Doadded inv0.86.0

Do executes the "beyondcorp.projects.locations.applications.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*GoogleIamV1TestIamPermissionsResponse.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsApplicationsTestIamPermissionsCall)Fieldsadded inv0.86.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsApplicationsTestIamPermissionsCall)Headeradded inv0.86.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsConnectionsCreateCall

type ProjectsLocationsConnectionsCreateCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsConnectionsCreateCall)ConnectionId

ConnectionId sets the optional parameter "connectionId": User-settableconnection resource ID. * Must start with a letter. * Must contain between4-63 characters from `/a-z-/`. * Must end with a number or a letter.

func (*ProjectsLocationsConnectionsCreateCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsConnectionsCreateCall)Do

Do executes the "beyondcorp.projects.locations.connections.create" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsConnectionsCreateCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsConnectionsCreateCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsConnectionsCreateCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsConnectionsCreateCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set, validatesrequest by executing a dry-run which would not alter the resource in anyway.

typeProjectsLocationsConnectionsDeleteCall

type ProjectsLocationsConnectionsDeleteCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsConnectionsDeleteCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsConnectionsDeleteCall)Do

Do executes the "beyondcorp.projects.locations.connections.delete" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsConnectionsDeleteCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsConnectionsDeleteCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsConnectionsDeleteCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes afterthe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsConnectionsDeleteCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set, validatesrequest by executing a dry-run which would not alter the resource in anyway.

typeProjectsLocationsConnectionsGetCall

type ProjectsLocationsConnectionsGetCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsConnectionsGetCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsConnectionsGetCall)Do

Do executes the "beyondcorp.projects.locations.connections.get" call.Any non-2xx status code is an error. Response headers are in either*Connection.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsConnectionsGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsConnectionsGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsConnectionsGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsConnectionsGetIamPolicyCall

type ProjectsLocationsConnectionsGetIamPolicyCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsConnectionsGetIamPolicyCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsConnectionsGetIamPolicyCall)Do

Do executes the "beyondcorp.projects.locations.connections.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*GoogleIamV1Policy.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsConnectionsGetIamPolicyCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsConnectionsGetIamPolicyCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsConnectionsGetIamPolicyCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsConnectionsGetIamPolicyCall)OptionsRequestedPolicyVersion

func (c *ProjectsLocationsConnectionsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsConnectionsGetIamPolicyCall

OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).

typeProjectsLocationsConnectionsListCall

type ProjectsLocationsConnectionsListCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsConnectionsListCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsConnectionsListCall)Do

Do executes the "beyondcorp.projects.locations.connections.list" call.Any non-2xx status code is an error. Response headers are in either*ListConnectionsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsConnectionsListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsConnectionsListCall)Filter

Filter sets the optional parameter "filter": A filter specifying constraintsof a list operation.

func (*ProjectsLocationsConnectionsListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsConnectionsListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsConnectionsListCall)OrderBy

OrderBy sets the optional parameter "orderBy": Specifies the ordering ofresults. See Sorting order(https://cloud.google.com/apis/design/design_patterns#sorting_order) formore information.

func (*ProjectsLocationsConnectionsListCall)PageSize

PageSize sets the optional parameter "pageSize": The maximum number of itemsto return. If not specified, a default value of 50 will be used by theservice. Regardless of the page_size value, the response may include apartial list and a caller should only rely on response's next_page_token todetermine if there are more instances left to be queried.

func (*ProjectsLocationsConnectionsListCall)PageToken

PageToken sets the optional parameter "pageToken": The next_page_token valuereturned from a previous ListConnectionsRequest, if any.

func (*ProjectsLocationsConnectionsListCall)Pages

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

typeProjectsLocationsConnectionsPatchCall

type ProjectsLocationsConnectionsPatchCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsConnectionsPatchCall)AllowMissing

AllowMissing sets the optional parameter "allowMissing": If set as true,will create the resource if it is not found.

func (*ProjectsLocationsConnectionsPatchCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsConnectionsPatchCall)Do

Do executes the "beyondcorp.projects.locations.connections.patch" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsConnectionsPatchCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsConnectionsPatchCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsConnectionsPatchCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsConnectionsPatchCall)UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. Mask offields to update. At least one path must be supplied in this field. Theelements of the repeated paths field may only include these fields from[BeyondCorp.Connection]: * `labels` * `display_name` *`application_endpoint` * `connectors`

func (*ProjectsLocationsConnectionsPatchCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set, validatesrequest by executing a dry-run which would not alter the resource in anyway.

typeProjectsLocationsConnectionsResolveCall

type ProjectsLocationsConnectionsResolveCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsConnectionsResolveCall)ConnectorId

ConnectorId sets the optional parameter "connectorId": Required. BeyondCorpConnector name of the connector associated with those connections using theform:`projects/{project_id}/locations/{location_id}/connectors/{connector_id}`

func (*ProjectsLocationsConnectionsResolveCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsConnectionsResolveCall)Do

Do executes the "beyondcorp.projects.locations.connections.resolve" call.Any non-2xx status code is an error. Response headers are in either*ResolveConnectionsResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsConnectionsResolveCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsConnectionsResolveCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsConnectionsResolveCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsConnectionsResolveCall)PageSize

PageSize sets the optional parameter "pageSize": The maximum number of itemsto return. If not specified, a default value of 50 will be used by theservice. Regardless of the page_size value, the response may include apartial list and a caller should only rely on response's next_page_token todetermine if there are more instances left to be queried.

func (*ProjectsLocationsConnectionsResolveCall)PageToken

PageToken sets the optional parameter "pageToken": The next_page_token valuereturned from a previous ResolveConnectionsResponse, if any.

func (*ProjectsLocationsConnectionsResolveCall)Pages

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

typeProjectsLocationsConnectionsService

type ProjectsLocationsConnectionsService struct {// contains filtered or unexported fields}

func (*ProjectsLocationsConnectionsService)Create

Create: Creates a new Connection in a given project and location.

  • parent: The resource project name of the connection location using theform: `projects/{project_id}/locations/{location_id}`.

func (*ProjectsLocationsConnectionsService)Delete

Delete: Deletes a single Connection.

  • name: BeyondCorp Connector name using the form:`projects/{project_id}/locations/{location_id}/connections/{connection_id}`.

func (*ProjectsLocationsConnectionsService)Get

Get: Gets details of a single Connection.

  • name: BeyondCorp Connection name using the form:`projects/{project_id}/locations/{location_id}/connections/{connection_id}`.

func (*ProjectsLocationsConnectionsService)GetIamPolicy

GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.

func (*ProjectsLocationsConnectionsService)List

List: Lists Connections in a given project and location.

  • parent: The resource name of the connection location using the form:`projects/{project_id}/locations/{location_id}`.

func (*ProjectsLocationsConnectionsService)Patch

Patch: Updates the parameters of a single Connection.

  • name: Unique resource name of the connection. The name is ignored whencreating a connection.

func (*ProjectsLocationsConnectionsService)Resolve

Resolve: Resolves connections details for a given connector. An internalmethod called by a connector to find connections to connect to.

  • parent: The resource name of the connection location using the form:`projects/{project_id}/locations/{location_id}`.

func (*ProjectsLocationsConnectionsService)SetIamPolicy

SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.

typeProjectsLocationsConnectionsSetIamPolicyCall

type ProjectsLocationsConnectionsSetIamPolicyCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsConnectionsSetIamPolicyCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsConnectionsSetIamPolicyCall)Do

Do executes the "beyondcorp.projects.locations.connections.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*GoogleIamV1Policy.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsConnectionsSetIamPolicyCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsConnectionsSetIamPolicyCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsConnectorsCreateCall

type ProjectsLocationsConnectorsCreateCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsConnectorsCreateCall)ConnectorId

ConnectorId sets the optional parameter "connectorId": User-settableconnector resource ID. * Must start with a letter. * Must contain between4-63 characters from `/a-z-/`. * Must end with a number or a letter.

func (*ProjectsLocationsConnectorsCreateCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsConnectorsCreateCall)Do

Do executes the "beyondcorp.projects.locations.connectors.create" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsConnectorsCreateCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsConnectorsCreateCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsConnectorsCreateCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsConnectorsCreateCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set, validatesrequest by executing a dry-run which would not alter the resource in anyway.

typeProjectsLocationsConnectorsDeleteCall

type ProjectsLocationsConnectorsDeleteCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsConnectorsDeleteCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsConnectorsDeleteCall)Do

Do executes the "beyondcorp.projects.locations.connectors.delete" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsConnectorsDeleteCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsConnectorsDeleteCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsConnectorsDeleteCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes afterthe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsConnectorsDeleteCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set, validatesrequest by executing a dry-run which would not alter the resource in anyway.

typeProjectsLocationsConnectorsGetCall

type ProjectsLocationsConnectorsGetCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsConnectorsGetCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsConnectorsGetCall)Do

Do executes the "beyondcorp.projects.locations.connectors.get" call.Any non-2xx status code is an error. Response headers are in either*Connector.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsConnectorsGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsConnectorsGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsConnectorsGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsConnectorsGetIamPolicyCall

type ProjectsLocationsConnectorsGetIamPolicyCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsConnectorsGetIamPolicyCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsConnectorsGetIamPolicyCall)Do

Do executes the "beyondcorp.projects.locations.connectors.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*GoogleIamV1Policy.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsConnectorsGetIamPolicyCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsConnectorsGetIamPolicyCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsConnectorsGetIamPolicyCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsConnectorsGetIamPolicyCall)OptionsRequestedPolicyVersion

func (c *ProjectsLocationsConnectorsGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsConnectorsGetIamPolicyCall

OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).

typeProjectsLocationsConnectorsListCall

type ProjectsLocationsConnectorsListCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsConnectorsListCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsConnectorsListCall)Do

Do executes the "beyondcorp.projects.locations.connectors.list" call.Any non-2xx status code is an error. Response headers are in either*ListConnectorsResponse.ServerResponse.Header or (if a response was returnedat all) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsConnectorsListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsConnectorsListCall)Filter

Filter sets the optional parameter "filter": A filter specifying constraintsof a list operation.

func (*ProjectsLocationsConnectorsListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsConnectorsListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsConnectorsListCall)OrderBy

OrderBy sets the optional parameter "orderBy": Specifies the ordering ofresults. See Sorting order(https://cloud.google.com/apis/design/design_patterns#sorting_order) formore information.

func (*ProjectsLocationsConnectorsListCall)PageSize

PageSize sets the optional parameter "pageSize": The maximum number of itemsto return. If not specified, a default value of 50 will be used by theservice. Regardless of the page_size value, the response may include apartial list and a caller should only rely on response's next_page_token todetermine if there are more instances left to be queried.

func (*ProjectsLocationsConnectorsListCall)PageToken

PageToken sets the optional parameter "pageToken": The next_page_token valuereturned from a previous ListConnectorsRequest, if any.

func (*ProjectsLocationsConnectorsListCall)Pages

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

typeProjectsLocationsConnectorsPatchCall

type ProjectsLocationsConnectorsPatchCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsConnectorsPatchCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsConnectorsPatchCall)Do

Do executes the "beyondcorp.projects.locations.connectors.patch" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsConnectorsPatchCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsConnectorsPatchCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsConnectorsPatchCall)RequestId

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsConnectorsPatchCall)UpdateMask

UpdateMask sets the optional parameter "updateMask": Required. Mask offields to update. At least one path must be supplied in this field. Theelements of the repeated paths field may only include these fields from[BeyondCorp.Connector]: * `labels` * `display_name`

func (*ProjectsLocationsConnectorsPatchCall)ValidateOnly

ValidateOnly sets the optional parameter "validateOnly": If set, validatesrequest by executing a dry-run which would not alter the resource in anyway.

typeProjectsLocationsConnectorsReportStatusCall

type ProjectsLocationsConnectorsReportStatusCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsConnectorsReportStatusCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsConnectorsReportStatusCall)Do

Do executes the "beyondcorp.projects.locations.connectors.reportStatus" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsConnectorsReportStatusCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsConnectorsReportStatusCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsConnectorsResolveInstanceConfigCall

type ProjectsLocationsConnectorsResolveInstanceConfigCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsConnectorsResolveInstanceConfigCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsConnectorsResolveInstanceConfigCall)Do

Do executes the "beyondcorp.projects.locations.connectors.resolveInstanceConfig" call.Any non-2xx status code is an error. Response headers are in either*ResolveInstanceConfigResponse.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsConnectorsResolveInstanceConfigCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsConnectorsResolveInstanceConfigCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsConnectorsResolveInstanceConfigCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsConnectorsService

type ProjectsLocationsConnectorsService struct {// contains filtered or unexported fields}

func (*ProjectsLocationsConnectorsService)Create

Create: Creates a new Connector in a given project and location.

  • parent: The resource project name of the connector location using theform: `projects/{project_id}/locations/{location_id}`.

func (*ProjectsLocationsConnectorsService)Delete

Delete: Deletes a single Connector.

  • name: BeyondCorp Connector name using the form:`projects/{project_id}/locations/{location_id}/connectors/{connector_id}`.

func (*ProjectsLocationsConnectorsService)Get

Get: Gets details of a single Connector.

  • name: BeyondCorp Connector name using the form:`projects/{project_id}/locations/{location_id}/connectors/{connector_id}`.

func (*ProjectsLocationsConnectorsService)GetIamPolicy

GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.

func (*ProjectsLocationsConnectorsService)List

List: Lists Connectors in a given project and location.

  • parent: The resource name of the connector location using the form:`projects/{project_id}/locations/{location_id}`.

func (*ProjectsLocationsConnectorsService)Patch

Patch: Updates the parameters of a single Connector.

  • name: Unique resource name of the connector. The name is ignored whencreating a connector.

func (*ProjectsLocationsConnectorsService)ReportStatus

ReportStatus: Report status for a given connector.

  • connector: BeyondCorp Connector name using the form:`projects/{project_id}/locations/{location_id}/connectors/{connector}`.

func (*ProjectsLocationsConnectorsService)ResolveInstanceConfig

ResolveInstanceConfig: Gets instance configuration for a given connector. Aninternal method called by a connector to get its container config.

  • connector: BeyondCorp Connector name using the form:`projects/{project_id}/locations/{location_id}/connectors/{connector}`.

func (*ProjectsLocationsConnectorsService)SetIamPolicy

SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.

typeProjectsLocationsConnectorsSetIamPolicyCall

type ProjectsLocationsConnectorsSetIamPolicyCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsConnectorsSetIamPolicyCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsConnectorsSetIamPolicyCall)Do

Do executes the "beyondcorp.projects.locations.connectors.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*GoogleIamV1Policy.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsConnectorsSetIamPolicyCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsConnectorsSetIamPolicyCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsGetCall

type ProjectsLocationsGetCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsGetCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsGetCall)Do

Do executes the "beyondcorp.projects.locations.get" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudLocationLocation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsInsightsConfiguredInsightCalladded inv0.92.0

type ProjectsLocationsInsightsConfiguredInsightCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsInsightsConfiguredInsightCall)Aggregationadded inv0.92.0

Aggregation sets the optional parameter "aggregation": Required. Aggregationtype. Available aggregation could be fetched by calling insight list and getAPIs in `BASIC` view.

Possible values:

"AGGREGATION_UNSPECIFIED" - Unspecified."HOURLY" - Insight should be aggregated at hourly level."DAILY" - Insight should be aggregated at daily level."WEEKLY" - Insight should be aggregated at weekly level."MONTHLY" - Insight should be aggregated at monthly level."CUSTOM_DATE_RANGE" - Insight should be aggregated at the custom date

range passed in as the start and end time in the request.

func (*ProjectsLocationsInsightsConfiguredInsightCall)Contextadded inv0.92.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsInsightsConfiguredInsightCall)CustomGroupingFieldFilteradded inv0.92.0

CustomGroupingFieldFilter sets the optional parameter"customGrouping.fieldFilter": Filterable parameters to be added to thegrouping clause. Available fields could be fetched by calling insight listand get APIs in `BASIC` view. `=` is the only comparison operator supported.`AND` is the only logical operator supported. Usage:field_filter="fieldName1=fieldVal1 AND fieldName2=fieldVal2". NOTE: Only`AND` conditions are allowed. NOTE: Use the `filter_alias` from`Insight.Metadata.Field` message for the filtering the corresponding fieldsin this filter field. (These expressions are based on the filter languagedescribed athttps://google.aip.dev/160).

func (*ProjectsLocationsInsightsConfiguredInsightCall)CustomGroupingGroupFieldsadded inv0.92.0

func (c *ProjectsLocationsInsightsConfiguredInsightCall) CustomGroupingGroupFields(customGroupingGroupFields ...string) *ProjectsLocationsInsightsConfiguredInsightCall

CustomGroupingGroupFields sets the optional parameter"customGrouping.groupFields": Required. Fields to be used for grouping.NOTE: Use the `filter_alias` from `Insight.Metadata.Field` message fordeclaring the fields to be grouped-by here.

func (*ProjectsLocationsInsightsConfiguredInsightCall)Doadded inv0.92.0

Do executes the "beyondcorp.projects.locations.insights.configuredInsight" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudBeyondcorpSaasplatformInsightsV1alphaConfiguredInsightResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsInsightsConfiguredInsightCall)EndTimeadded inv0.92.0

EndTime sets the optional parameter "endTime": Required. Ending time for theduration for which insight is to be pulled.

func (*ProjectsLocationsInsightsConfiguredInsightCall)FieldFilteradded inv0.92.0

FieldFilter sets the optional parameter "fieldFilter": Otherfilterable/configurable parameters as applicable to the selected insight.Available fields could be fetched by calling insight list and get APIs in`BASIC` view. `=` is the only comparison operator supported. `AND` is theonly logical operator supported. Usage: field_filter="fieldName1=fieldVal1AND fieldName2=fieldVal2". NOTE: Only `AND` conditions are allowed. NOTE:Use the `filter_alias` from `Insight.Metadata.Field` message for thefiltering the corresponding fields in this filter field. (These expressionsare based on the filter language described athttps://google.aip.dev/160).

func (*ProjectsLocationsInsightsConfiguredInsightCall)Fieldsadded inv0.92.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsInsightsConfiguredInsightCall)Groupadded inv0.92.0

Group sets the optional parameter "group": Group id of the availablegroupings for the insight. Available groupings could be fetched by callinginsight list and get APIs in `BASIC` view.

func (*ProjectsLocationsInsightsConfiguredInsightCall)Headeradded inv0.92.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsInsightsConfiguredInsightCall)IfNoneMatchadded inv0.92.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsInsightsConfiguredInsightCall)PageSizeadded inv0.92.0

PageSize sets the optional parameter "pageSize": Requested page size. Servermay return fewer items than requested. If unspecified, server will pick anappropriate default.

func (*ProjectsLocationsInsightsConfiguredInsightCall)PageTokenadded inv0.92.0

PageToken sets the optional parameter "pageToken": Used to fetch the pagerepresented by the token. Fetches the first page when not set.

func (*ProjectsLocationsInsightsConfiguredInsightCall)Pagesadded inv0.92.0

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

func (*ProjectsLocationsInsightsConfiguredInsightCall)StartTimeadded inv0.92.0

StartTime sets the optional parameter "startTime": Required. Starting timefor the duration for which insight is to be pulled.

typeProjectsLocationsInsightsGetCalladded inv0.92.0

type ProjectsLocationsInsightsGetCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsInsightsGetCall)Contextadded inv0.92.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsInsightsGetCall)Doadded inv0.92.0

Do executes the "beyondcorp.projects.locations.insights.get" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudBeyondcorpSaasplatformInsightsV1alphaInsight.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header.Use googleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsInsightsGetCall)Fieldsadded inv0.92.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsInsightsGetCall)Headeradded inv0.92.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsInsightsGetCall)IfNoneMatchadded inv0.92.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsInsightsGetCall)Viewadded inv0.92.0

View sets the optional parameter "view": Required. Metadata only or fulldata view.

Possible values:

"INSIGHT_VIEW_UNSPECIFIED" - The default / unset value. The API will

default to the BASIC view.

"BASIC" - Include basic metadata about the insight, but not the insight

data. This is the default value (for both ListInsights and GetInsight).

"FULL" - Include everything.

typeProjectsLocationsInsightsListCalladded inv0.92.0

type ProjectsLocationsInsightsListCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsInsightsListCall)Aggregationadded inv0.191.0

Aggregation sets the optional parameter "aggregation": Aggregation type. Thedefault is 'DAILY'.

Possible values:

"AGGREGATION_UNSPECIFIED" - Unspecified."HOURLY" - Insight should be aggregated at hourly level."DAILY" - Insight should be aggregated at daily level."WEEKLY" - Insight should be aggregated at weekly level."MONTHLY" - Insight should be aggregated at monthly level."CUSTOM_DATE_RANGE" - Insight should be aggregated at the custom date

range passed in as the start and end time in the request.

func (*ProjectsLocationsInsightsListCall)Contextadded inv0.92.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsInsightsListCall)Doadded inv0.92.0

Do executes the "beyondcorp.projects.locations.insights.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudBeyondcorpSaasplatformInsightsV1alphaListInsightsResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsInsightsListCall)EndTimeadded inv0.191.0

EndTime sets the optional parameter "endTime": Ending time for the durationfor which insights are to be pulled. The default is the current time.

func (*ProjectsLocationsInsightsListCall)Fieldsadded inv0.92.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsInsightsListCall)Filteradded inv0.92.0

Filter sets the optional parameter "filter": Filter expression to restrictthe insights returned. Supported filter fields: * `type` * `category` *`subCategory` Examples: * "category = application AND type = count" *"category = application AND subCategory = iap" * "type = status" Allowedvalues: * type: [count, latency, status, list] * category: [application,device, request, security] * subCategory: [iap, caa, webprotect] NOTE: Onlyequality based comparison is allowed. Only `AND` conjunction is allowed.NOTE: The 'AND' in the filter field needs to be in capital letters only.NOTE: Just filtering on `subCategory` is not allowed. It should be passed inwith the parent `category` too. (These expressions are based on the filterlanguage described athttps://google.aip.dev/160).

func (*ProjectsLocationsInsightsListCall)Headeradded inv0.92.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsInsightsListCall)IfNoneMatchadded inv0.92.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsInsightsListCall)OrderByadded inv0.92.0

OrderBy sets the optional parameter "orderBy": Hint for how to order theresults. This is currently ignored.

func (*ProjectsLocationsInsightsListCall)PageSizeadded inv0.92.0

PageSize sets the optional parameter "pageSize": Requested page size. Servermay return fewer items than requested. If unspecified, server will pick anappropriate default. NOTE: Default page size is 50.

func (*ProjectsLocationsInsightsListCall)PageTokenadded inv0.92.0

PageToken sets the optional parameter "pageToken": A token identifying apage of results the server should return.

func (*ProjectsLocationsInsightsListCall)Pagesadded inv0.92.0

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

func (*ProjectsLocationsInsightsListCall)StartTimeadded inv0.191.0

StartTime sets the optional parameter "startTime": Starting time for theduration for which insights are to be pulled. The default is 7 days beforethe current time.

func (*ProjectsLocationsInsightsListCall)Viewadded inv0.92.0

View sets the optional parameter "view": Required. List only metadata orfull data.

Possible values:

"INSIGHT_VIEW_UNSPECIFIED" - The default / unset value. The API will

default to the BASIC view.

"BASIC" - Include basic metadata about the insight, but not the insight

data. This is the default value (for both ListInsights and GetInsight).

"FULL" - Include everything.

typeProjectsLocationsInsightsServiceadded inv0.92.0

type ProjectsLocationsInsightsService struct {// contains filtered or unexported fields}

funcNewProjectsLocationsInsightsServiceadded inv0.92.0

func NewProjectsLocationsInsightsService(s *Service) *ProjectsLocationsInsightsService

func (*ProjectsLocationsInsightsService)ConfiguredInsightadded inv0.92.0

ConfiguredInsight: Gets the value for a selected particular insight based onthe provided filters. Use the organization level path for fetching at orglevel and project level path for fetching the insight value specific to aparticular project.

  • insight: The resource name of the insight using the form:`organizations/{organization_id}/locations/{location_id}/insights/{insight_id}``projects/{project_id}/locations/{location_id}/insights/{insight_id}`.

func (*ProjectsLocationsInsightsService)Getadded inv0.92.0

Get: Gets the value for a selected particular insight with defaultconfiguration. The default aggregation level is 'DAILY' and no grouping willbe applied or default grouping if applicable. The data will be returned forrecent 7 days starting the day before. The insight data size will be limitedto 50 rows. Use the organization level path for fetching at org level andproject level path for fetching the insight value specific to a particularproject. Setting the `view` to `BASIC` will only return the metadata for theinsight.

  • name: The resource name of the insight using the form:`organizations/{organization_id}/locations/{location_id}/insights/{insight_id}` `projects/{project_id}/locations/{location_id}/insights/{insight_id}`.

func (*ProjectsLocationsInsightsService)Listadded inv0.92.0

List: Lists for all the available insights that could be fetched from thesystem. Allows to filter using category. Setting the `view` to `BASIC` willlet you iterate over the list of insight metadatas.

  • parent: The resource name of InsightMetadata using the form:`organizations/{organization_id}/locations/{location}``projects/{project_id}/locations/{location_id}`.

typeProjectsLocationsListCall

type ProjectsLocationsListCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsListCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsListCall)Do

Do executes the "beyondcorp.projects.locations.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudLocationListLocationsResponse.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsListCall)ExtraLocationTypesadded inv0.230.0

func (c *ProjectsLocationsListCall) ExtraLocationTypes(extraLocationTypes ...string) *ProjectsLocationsListCall

ExtraLocationTypes sets the optional parameter "extraLocationTypes": Do notuse this field. It is unsupported and is ignored unless explicitlydocumented otherwise. This is primarily for internal usage.

func (*ProjectsLocationsListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsListCall)Filter

Filter sets the optional parameter "filter": A filter to narrow down resultsto a preferred subset. The filtering language accepts strings like"displayName=tokyo", and is documented in more detail in AIP-160(https://google.aip.dev/160).

func (*ProjectsLocationsListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsListCall)PageSize

PageSize sets the optional parameter "pageSize": The maximum number ofresults to return. If not set, the service selects a default.

func (*ProjectsLocationsListCall)PageToken

PageToken sets the optional parameter "pageToken": A page token receivedfrom the `next_page_token` field in the response. Send that page token toreceive the subsequent page.

func (*ProjectsLocationsListCall)Pages

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

typeProjectsLocationsOperationsCancelCall

type ProjectsLocationsOperationsCancelCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsOperationsCancelCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsOperationsCancelCall)Do

Do executes the "beyondcorp.projects.locations.operations.cancel" call.Any non-2xx status code is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsOperationsCancelCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsOperationsCancelCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsOperationsDeleteCall

type ProjectsLocationsOperationsDeleteCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsOperationsDeleteCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsOperationsDeleteCall)Do

Do executes the "beyondcorp.projects.locations.operations.delete" call.Any non-2xx status code is an error. Response headers are in either*Empty.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsOperationsDeleteCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsOperationsDeleteCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsOperationsGetCall

type ProjectsLocationsOperationsGetCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsOperationsGetCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsOperationsGetCall)Do

Do executes the "beyondcorp.projects.locations.operations.get" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsOperationsGetCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsOperationsGetCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsOperationsGetCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsOperationsListCall

type ProjectsLocationsOperationsListCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsOperationsListCall)Context

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsOperationsListCall)Do

Do executes the "beyondcorp.projects.locations.operations.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningListOperationsResponse.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsOperationsListCall)Fields

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsOperationsListCall)Filter

Filter sets the optional parameter "filter": The standard list filter.

func (*ProjectsLocationsOperationsListCall)Header

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsOperationsListCall)IfNoneMatch

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsOperationsListCall)PageSize

PageSize sets the optional parameter "pageSize": The standard list pagesize.

func (*ProjectsLocationsOperationsListCall)PageToken

PageToken sets the optional parameter "pageToken": The standard list pagetoken.

func (*ProjectsLocationsOperationsListCall)Pages

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

func (*ProjectsLocationsOperationsListCall)ReturnPartialSuccessadded inv0.253.0

func (c *ProjectsLocationsOperationsListCall) ReturnPartialSuccess(returnPartialSuccessbool) *ProjectsLocationsOperationsListCall

ReturnPartialSuccess sets the optional parameter "returnPartialSuccess":When set to `true`, operations that are reachable are returned as normal,and those that are unreachable are returned in the[ListOperationsResponse.unreachable] field. This can only be `true` whenreading across collections e.g. when `parent` is set to"projects/example/locations/-". This field is not by default supported andwill result in an `UNIMPLEMENTED` error if set unless explicitly documentedotherwise in service or product specific documentation.

typeProjectsLocationsOperationsService

type ProjectsLocationsOperationsService struct {// contains filtered or unexported fields}

func (*ProjectsLocationsOperationsService)Cancel

Cancel: Starts asynchronous cancellation on a long-running operation. Theserver makes a best effort to cancel the operation, but success is notguaranteed. If the server doesn't support this method, it returns`google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation orother methods to check whether the cancellation succeeded or whether theoperation completed despite cancellation. On successful cancellation, theoperation is not deleted; instead, it becomes an operation with anOperation.error value with a google.rpc.Status.code of `1`, corresponding to`Code.CANCELLED`.

- name: The name of the operation resource to be cancelled.

func (*ProjectsLocationsOperationsService)Delete

Delete: Deletes a long-running operation. This method indicates that theclient is no longer interested in the operation result. It does not cancelthe operation. If the server doesn't support this method, it returns`google.rpc.Code.UNIMPLEMENTED`.

- name: The name of the operation resource to be deleted.

func (*ProjectsLocationsOperationsService)Get

Get: Gets the latest state of a long-running operation. Clients can use thismethod to poll the operation result at intervals as recommended by the APIservice.

- name: The name of the operation resource.

func (*ProjectsLocationsOperationsService)List

List: Lists operations that match the specified filter in the request. Ifthe server doesn't support this method, it returns `UNIMPLEMENTED`.

- name: The name of the operation's parent resource.

typeProjectsLocationsSecurityGatewaysApplicationsCreateCalladded inv0.240.0

type ProjectsLocationsSecurityGatewaysApplicationsCreateCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsSecurityGatewaysApplicationsCreateCall)ApplicationIdadded inv0.240.0

ApplicationId sets the optional parameter "applicationId": User-settableApplication resource ID. * Must start with a letter. * Must contain between4-63 characters from `/a-z-/`. * Must end with a number or letter.

func (*ProjectsLocationsSecurityGatewaysApplicationsCreateCall)Contextadded inv0.240.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsSecurityGatewaysApplicationsCreateCall)Doadded inv0.240.0

Do executes the "beyondcorp.projects.locations.securityGateways.applications.create" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsSecurityGatewaysApplicationsCreateCall)Fieldsadded inv0.240.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsSecurityGatewaysApplicationsCreateCall)Headeradded inv0.240.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsSecurityGatewaysApplicationsCreateCall)RequestIdadded inv0.240.0

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore request if it has already beencompleted. The server will guarantee that for at least 60 minutes since thefirst request.

typeProjectsLocationsSecurityGatewaysApplicationsDeleteCalladded inv0.193.0

type ProjectsLocationsSecurityGatewaysApplicationsDeleteCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsSecurityGatewaysApplicationsDeleteCall)Contextadded inv0.193.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsSecurityGatewaysApplicationsDeleteCall)Doadded inv0.193.0

Do executes the "beyondcorp.projects.locations.securityGateways.applications.delete" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsSecurityGatewaysApplicationsDeleteCall)Fieldsadded inv0.193.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsSecurityGatewaysApplicationsDeleteCall)Headeradded inv0.193.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsSecurityGatewaysApplicationsDeleteCall)RequestIdadded inv0.193.0

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes afterthe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsSecurityGatewaysApplicationsDeleteCall)ValidateOnlyadded inv0.193.0

ValidateOnly sets the optional parameter "validateOnly": If set, validatesrequest by executing a dry-run which would not alter the resource in anyway.

typeProjectsLocationsSecurityGatewaysApplicationsGetCalladded inv0.193.0

type ProjectsLocationsSecurityGatewaysApplicationsGetCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsSecurityGatewaysApplicationsGetCall)Contextadded inv0.193.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsSecurityGatewaysApplicationsGetCall)Doadded inv0.193.0

Do executes the "beyondcorp.projects.locations.securityGateways.applications.get" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudBeyondcorpSecuritygatewaysV1alphaApplication.ServerResponse.Header or (if a response was returned at all) in error.(*googleapi.Error).Header.Use googleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsSecurityGatewaysApplicationsGetCall)Fieldsadded inv0.193.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsSecurityGatewaysApplicationsGetCall)Headeradded inv0.193.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsSecurityGatewaysApplicationsGetCall)IfNoneMatchadded inv0.193.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsSecurityGatewaysApplicationsGetIamPolicyCalladded inv0.198.0

type ProjectsLocationsSecurityGatewaysApplicationsGetIamPolicyCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsSecurityGatewaysApplicationsGetIamPolicyCall)Contextadded inv0.198.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsSecurityGatewaysApplicationsGetIamPolicyCall)Doadded inv0.198.0

Do executes the "beyondcorp.projects.locations.securityGateways.applications.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*GoogleIamV1Policy.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsSecurityGatewaysApplicationsGetIamPolicyCall)Fieldsadded inv0.198.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsSecurityGatewaysApplicationsGetIamPolicyCall)Headeradded inv0.198.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsSecurityGatewaysApplicationsGetIamPolicyCall)IfNoneMatchadded inv0.198.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsSecurityGatewaysApplicationsGetIamPolicyCall)OptionsRequestedPolicyVersionadded inv0.198.0

OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).

typeProjectsLocationsSecurityGatewaysApplicationsListCalladded inv0.193.0

type ProjectsLocationsSecurityGatewaysApplicationsListCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsSecurityGatewaysApplicationsListCall)Contextadded inv0.193.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsSecurityGatewaysApplicationsListCall)Doadded inv0.193.0

Do executes the "beyondcorp.projects.locations.securityGateways.applications.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudBeyondcorpSecuritygatewaysV1alphaListApplicationsResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSecurityGatewaysApplicationsListCall)Fieldsadded inv0.193.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsSecurityGatewaysApplicationsListCall)Filteradded inv0.193.0

Filter sets the optional parameter "filter": A filter specifying constraintsof a list operation. All fields in the Application message are supported.For example, the following query will return the Application withdisplayName "test-application" For more information, please refer tohttps://google.aip.dev/160.

func (*ProjectsLocationsSecurityGatewaysApplicationsListCall)Headeradded inv0.193.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsSecurityGatewaysApplicationsListCall)IfNoneMatchadded inv0.193.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsSecurityGatewaysApplicationsListCall)OrderByadded inv0.193.0

OrderBy sets the optional parameter "orderBy": Specifies the ordering ofresults. See Sorting order(https://cloud.google.com/apis/design/design_patterns#sorting_order) formore information.

func (*ProjectsLocationsSecurityGatewaysApplicationsListCall)PageSizeadded inv0.193.0

PageSize sets the optional parameter "pageSize": The maximum number of itemsto return. If not specified, a default value of 50 will be used by theservice. Regardless of the page_size value, the response may include apartial list and a caller should only rely on response's next_page_token todetermine if there are more instances left to be queried.

func (*ProjectsLocationsSecurityGatewaysApplicationsListCall)PageTokenadded inv0.193.0

PageToken sets the optional parameter "pageToken": The next_page_token valuereturned from a previous ListApplicationsRequest, if any.

func (*ProjectsLocationsSecurityGatewaysApplicationsListCall)Pagesadded inv0.193.0

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

typeProjectsLocationsSecurityGatewaysApplicationsPatchCalladded inv0.240.0

type ProjectsLocationsSecurityGatewaysApplicationsPatchCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsSecurityGatewaysApplicationsPatchCall)Contextadded inv0.240.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsSecurityGatewaysApplicationsPatchCall)Doadded inv0.240.0

Do executes the "beyondcorp.projects.locations.securityGateways.applications.patch" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsSecurityGatewaysApplicationsPatchCall)Fieldsadded inv0.240.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsSecurityGatewaysApplicationsPatchCall)Headeradded inv0.240.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsSecurityGatewaysApplicationsPatchCall)RequestIdadded inv0.240.0

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes afterthe first request. For example, consider a situation where you make aninitial request and the request timed out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsSecurityGatewaysApplicationsPatchCall)UpdateMaskadded inv0.240.0

UpdateMask sets the optional parameter "updateMask": Mutable fields include:display_name.

typeProjectsLocationsSecurityGatewaysApplicationsServiceadded inv0.193.0

type ProjectsLocationsSecurityGatewaysApplicationsService struct {// contains filtered or unexported fields}

funcNewProjectsLocationsSecurityGatewaysApplicationsServiceadded inv0.193.0

func NewProjectsLocationsSecurityGatewaysApplicationsService(s *Service) *ProjectsLocationsSecurityGatewaysApplicationsService

func (*ProjectsLocationsSecurityGatewaysApplicationsService)Createadded inv0.240.0

Create: Creates a new Application in a given project and location.

  • parent: The resource name of the parent SecurityGateway using the form:`projects/{project_id}/locations/global/securityGateways/{security_gateway_id}`.

func (*ProjectsLocationsSecurityGatewaysApplicationsService)Deleteadded inv0.193.0

Delete: Deletes a single application.

- name: Name of the resource.

func (*ProjectsLocationsSecurityGatewaysApplicationsService)Getadded inv0.193.0

Get: Gets details of a single Application.

  • name: The resource name of the Application using the form:`projects/{project_id}/locations/global/securityGateway/{security_gateway_id}/applications/{application_id}`.

func (*ProjectsLocationsSecurityGatewaysApplicationsService)GetIamPolicyadded inv0.198.0

GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.

func (*ProjectsLocationsSecurityGatewaysApplicationsService)Listadded inv0.193.0

List: Lists Applications in a given project and location.

  • parent: The parent location to which the resources belong.`projects/{project_id}/locations/global/securityGateways/{security_gateway_id}`.

func (*ProjectsLocationsSecurityGatewaysApplicationsService)Patchadded inv0.240.0

Patch: Updates the parameters of a single Application.

- name: Identifier. Name of the resource.

func (*ProjectsLocationsSecurityGatewaysApplicationsService)SetIamPolicyadded inv0.198.0

SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.

func (*ProjectsLocationsSecurityGatewaysApplicationsService)TestIamPermissionsadded inv0.240.0

TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.

typeProjectsLocationsSecurityGatewaysApplicationsSetIamPolicyCalladded inv0.198.0

type ProjectsLocationsSecurityGatewaysApplicationsSetIamPolicyCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsSecurityGatewaysApplicationsSetIamPolicyCall)Contextadded inv0.198.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsSecurityGatewaysApplicationsSetIamPolicyCall)Doadded inv0.198.0

Do executes the "beyondcorp.projects.locations.securityGateways.applications.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*GoogleIamV1Policy.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsSecurityGatewaysApplicationsSetIamPolicyCall)Fieldsadded inv0.198.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsSecurityGatewaysApplicationsSetIamPolicyCall)Headeradded inv0.198.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsSecurityGatewaysApplicationsTestIamPermissionsCalladded inv0.240.0

type ProjectsLocationsSecurityGatewaysApplicationsTestIamPermissionsCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsSecurityGatewaysApplicationsTestIamPermissionsCall)Contextadded inv0.240.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsSecurityGatewaysApplicationsTestIamPermissionsCall)Doadded inv0.240.0

Do executes the "beyondcorp.projects.locations.securityGateways.applications.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*GoogleIamV1TestIamPermissionsResponse.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsSecurityGatewaysApplicationsTestIamPermissionsCall)Fieldsadded inv0.240.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsSecurityGatewaysApplicationsTestIamPermissionsCall)Headeradded inv0.240.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsSecurityGatewaysCreateCalladded inv0.173.0

type ProjectsLocationsSecurityGatewaysCreateCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsSecurityGatewaysCreateCall)Contextadded inv0.173.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsSecurityGatewaysCreateCall)Doadded inv0.173.0

Do executes the "beyondcorp.projects.locations.securityGateways.create" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsSecurityGatewaysCreateCall)Fieldsadded inv0.173.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsSecurityGatewaysCreateCall)Headeradded inv0.173.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsSecurityGatewaysCreateCall)RequestIdadded inv0.173.0

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes sincethe first request.

func (*ProjectsLocationsSecurityGatewaysCreateCall)SecurityGatewayIdadded inv0.173.0

SecurityGatewayId sets the optional parameter "securityGatewayId":User-settable SecurityGateway resource ID. * Must start with a letter. *Must contain between 4-63 characters from `/a-z-/`. * Must end with a numberor letter.

typeProjectsLocationsSecurityGatewaysDeleteCalladded inv0.173.0

type ProjectsLocationsSecurityGatewaysDeleteCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsSecurityGatewaysDeleteCall)Contextadded inv0.173.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsSecurityGatewaysDeleteCall)Doadded inv0.173.0

Do executes the "beyondcorp.projects.locations.securityGateways.delete" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsSecurityGatewaysDeleteCall)Fieldsadded inv0.173.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsSecurityGatewaysDeleteCall)Headeradded inv0.173.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsSecurityGatewaysDeleteCall)RequestIdadded inv0.173.0

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes afterthe first request. For example, consider a situation where you make aninitial request and the request times out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsSecurityGatewaysDeleteCall)ValidateOnlyadded inv0.173.0

ValidateOnly sets the optional parameter "validateOnly": If set, validatesrequest by executing a dry-run which would not alter the resource in anyway.

typeProjectsLocationsSecurityGatewaysGetCalladded inv0.173.0

type ProjectsLocationsSecurityGatewaysGetCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsSecurityGatewaysGetCall)Contextadded inv0.173.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsSecurityGatewaysGetCall)Doadded inv0.173.0

Do executes the "beyondcorp.projects.locations.securityGateways.get" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudBeyondcorpSecuritygatewaysV1alphaSecurityGateway.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSecurityGatewaysGetCall)Fieldsadded inv0.173.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsSecurityGatewaysGetCall)Headeradded inv0.173.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsSecurityGatewaysGetCall)IfNoneMatchadded inv0.173.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

typeProjectsLocationsSecurityGatewaysGetIamPolicyCalladded inv0.182.0

type ProjectsLocationsSecurityGatewaysGetIamPolicyCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsSecurityGatewaysGetIamPolicyCall)Contextadded inv0.182.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsSecurityGatewaysGetIamPolicyCall)Doadded inv0.182.0

Do executes the "beyondcorp.projects.locations.securityGateways.getIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*GoogleIamV1Policy.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsSecurityGatewaysGetIamPolicyCall)Fieldsadded inv0.182.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsSecurityGatewaysGetIamPolicyCall)Headeradded inv0.182.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsSecurityGatewaysGetIamPolicyCall)IfNoneMatchadded inv0.182.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsSecurityGatewaysGetIamPolicyCall)OptionsRequestedPolicyVersionadded inv0.182.0

func (c *ProjectsLocationsSecurityGatewaysGetIamPolicyCall) OptionsRequestedPolicyVersion(optionsRequestedPolicyVersionint64) *ProjectsLocationsSecurityGatewaysGetIamPolicyCall

OptionsRequestedPolicyVersion sets the optional parameter"options.requestedPolicyVersion": The maximum policy version that will beused to format the policy. Valid values are 0, 1, and 3. Requests specifyingan invalid value will be rejected. Requests for policies with anyconditional role bindings must specify version 3. Policies with noconditional role bindings may specify any valid value or leave the fieldunset. The policy in the response might use the policy version that youspecified, or it might use a lower policy version. For example, if youspecify version 3, but the policy has no conditional role bindings, theresponse uses version 1. To learn which resources support conditions intheir IAM policies, see the IAM documentation(https://cloud.google.com/iam/help/conditions/resource-policies).

typeProjectsLocationsSecurityGatewaysListCalladded inv0.173.0

type ProjectsLocationsSecurityGatewaysListCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsSecurityGatewaysListCall)Contextadded inv0.173.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsSecurityGatewaysListCall)Doadded inv0.173.0

Do executes the "beyondcorp.projects.locations.securityGateways.list" call.Any non-2xx status code is an error. Response headers are in either*GoogleCloudBeyondcorpSecuritygatewaysV1alphaListSecurityGatewaysResponse.ServerResponse.Header or (if a response was returned at all) inerror.(*googleapi.Error).Header. Use googleapi.IsNotModified to checkwhether the returned error was because http.StatusNotModified was returned.

func (*ProjectsLocationsSecurityGatewaysListCall)Fieldsadded inv0.173.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsSecurityGatewaysListCall)Filteradded inv0.173.0

Filter sets the optional parameter "filter": A filter specifying constraintsof a list operation. All fields in the SecurityGateway message aresupported. For example, the following query will return the SecurityGatewaywith displayName "test-security-gateway" For more information, please refertohttps://google.aip.dev/160.

func (*ProjectsLocationsSecurityGatewaysListCall)Headeradded inv0.173.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsSecurityGatewaysListCall)IfNoneMatchadded inv0.173.0

IfNoneMatch sets an optional parameter which makes the operation fail if theobject's ETag matches the given value. This is useful for getting updatesonly after the object has changed since the last request.

func (*ProjectsLocationsSecurityGatewaysListCall)OrderByadded inv0.173.0

OrderBy sets the optional parameter "orderBy": Specifies the ordering ofresults. See Sorting order(https://cloud.google.com/apis/design/design_patterns#sorting_order) formore information.

func (*ProjectsLocationsSecurityGatewaysListCall)PageSizeadded inv0.173.0

PageSize sets the optional parameter "pageSize": The maximum number of itemsto return. If not specified, a default value of 50 will be used by theservice. Regardless of the page_size value, the response may include apartial list and a caller should only rely on response's next_page_token todetermine if there are more instances left to be queried.

func (*ProjectsLocationsSecurityGatewaysListCall)PageTokenadded inv0.173.0

PageToken sets the optional parameter "pageToken": The next_page_token valuereturned from a previous ListSecurityGatewayRequest, if any.

func (*ProjectsLocationsSecurityGatewaysListCall)Pagesadded inv0.173.0

Pages invokes f for each page of results.A non-nil error returned from f will halt the iteration.The provided context supersedes any context provided to the Context method.

typeProjectsLocationsSecurityGatewaysPatchCalladded inv0.173.0

type ProjectsLocationsSecurityGatewaysPatchCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsSecurityGatewaysPatchCall)Contextadded inv0.173.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsSecurityGatewaysPatchCall)Doadded inv0.173.0

Do executes the "beyondcorp.projects.locations.securityGateways.patch" call.Any non-2xx status code is an error. Response headers are in either*GoogleLongrunningOperation.ServerResponse.Header or (if a response wasreturned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsSecurityGatewaysPatchCall)Fieldsadded inv0.173.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsSecurityGatewaysPatchCall)Headeradded inv0.173.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

func (*ProjectsLocationsSecurityGatewaysPatchCall)RequestIdadded inv0.173.0

RequestId sets the optional parameter "requestId": An optional request ID toidentify requests. Specify a unique request ID so that if you must retryyour request, the server will know to ignore the request if it has alreadybeen completed. The server will guarantee that for at least 60 minutes afterthe first request. For example, consider a situation where you make aninitial request and the request timed out. If you make the request againwith the same request ID, the server can check if original operation withthe same request ID was received, and if so, will ignore the second request.This prevents clients from accidentally creating duplicate commitments. Therequest ID must be a valid UUID with the exception that zero UUID is notsupported (00000000-0000-0000-0000-000000000000).

func (*ProjectsLocationsSecurityGatewaysPatchCall)UpdateMaskadded inv0.173.0

UpdateMask sets the optional parameter "updateMask": Mutable fields include:display_name, hubs.

typeProjectsLocationsSecurityGatewaysServiceadded inv0.173.0

type ProjectsLocationsSecurityGatewaysService struct {Applications *ProjectsLocationsSecurityGatewaysApplicationsService// contains filtered or unexported fields}

funcNewProjectsLocationsSecurityGatewaysServiceadded inv0.173.0

func NewProjectsLocationsSecurityGatewaysService(s *Service) *ProjectsLocationsSecurityGatewaysService

func (*ProjectsLocationsSecurityGatewaysService)Createadded inv0.173.0

Create: Creates a new Security Gateway in a given project and location.

  • parent: The resource project name of the SecurityGateway location usingthe form: `projects/{project_id}/locations/{location_id}`.

func (*ProjectsLocationsSecurityGatewaysService)Deleteadded inv0.173.0

Delete: Deletes a single SecurityGateway.

  • name: BeyondCorp SecurityGateway name using the form:`projects/{project_id}/locations/{location_id}/securityGateways/{security_gateway_id}`.

func (*ProjectsLocationsSecurityGatewaysService)Getadded inv0.173.0

Get: Gets details of a single SecurityGateway.

  • name: The resource name of the PartnerTenant using the form:`projects/{project_id}/locations/{location_id}/securityGateway/{security_gateway_id}`.

func (*ProjectsLocationsSecurityGatewaysService)GetIamPolicyadded inv0.182.0

GetIamPolicy: Gets the access control policy for a resource. Returns anempty policy if the resource exists and does not have a policy set.

func (*ProjectsLocationsSecurityGatewaysService)Listadded inv0.173.0

List: Lists SecurityGateways in a given project and location.

  • parent: The parent location to which the resources belong.`projects/{project_id}/locations/{location_id}/`.

func (*ProjectsLocationsSecurityGatewaysService)Patchadded inv0.173.0

Patch: Updates the parameters of a single SecurityGateway.

- name: Identifier. Name of the resource.

func (*ProjectsLocationsSecurityGatewaysService)SetIamPolicyadded inv0.182.0

SetIamPolicy: Sets the access control policy on the specified resource.Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`,and `PERMISSION_DENIED` errors.

func (*ProjectsLocationsSecurityGatewaysService)TestIamPermissionsadded inv0.182.0

TestIamPermissions: Returns permissions that a caller has on the specifiedresource. If the resource does not exist, this will return an empty set ofpermissions, not a `NOT_FOUND` error. Note: This operation is designed to beused for building permission-aware UIs and command-line tools, not forauthorization checking. This operation may "fail open" without warning.

typeProjectsLocationsSecurityGatewaysSetIamPolicyCalladded inv0.182.0

type ProjectsLocationsSecurityGatewaysSetIamPolicyCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsSecurityGatewaysSetIamPolicyCall)Contextadded inv0.182.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsSecurityGatewaysSetIamPolicyCall)Doadded inv0.182.0

Do executes the "beyondcorp.projects.locations.securityGateways.setIamPolicy" call.Any non-2xx status code is an error. Response headers are in either*GoogleIamV1Policy.ServerResponse.Header or (if a response was returned atall) in error.(*googleapi.Error).Header. Use googleapi.IsNotModified tocheck whether the returned error was because http.StatusNotModified wasreturned.

func (*ProjectsLocationsSecurityGatewaysSetIamPolicyCall)Fieldsadded inv0.182.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsSecurityGatewaysSetIamPolicyCall)Headeradded inv0.182.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsSecurityGatewaysTestIamPermissionsCalladded inv0.182.0

type ProjectsLocationsSecurityGatewaysTestIamPermissionsCall struct {// contains filtered or unexported fields}

func (*ProjectsLocationsSecurityGatewaysTestIamPermissionsCall)Contextadded inv0.182.0

Context sets the context to be used in this call's Do method.

func (*ProjectsLocationsSecurityGatewaysTestIamPermissionsCall)Doadded inv0.182.0

Do executes the "beyondcorp.projects.locations.securityGateways.testIamPermissions" call.Any non-2xx status code is an error. Response headers are in either*GoogleIamV1TestIamPermissionsResponse.ServerResponse.Header or (if aresponse was returned at all) in error.(*googleapi.Error).Header. Usegoogleapi.IsNotModified to check whether the returned error was becausehttp.StatusNotModified was returned.

func (*ProjectsLocationsSecurityGatewaysTestIamPermissionsCall)Fieldsadded inv0.182.0

Fields allows partial responses to be retrieved. Seehttps://developers.google.com/gdata/docs/2.0/basics#PartialResponse for moredetails.

func (*ProjectsLocationsSecurityGatewaysTestIamPermissionsCall)Headeradded inv0.182.0

Header returns a http.Header that can be modified by the caller to addheaders to the request.

typeProjectsLocationsService

funcNewProjectsLocationsService

func NewProjectsLocationsService(s *Service) *ProjectsLocationsService

func (*ProjectsLocationsService)Get

Get: Gets information about a location.

- name: Resource name for the location.

func (*ProjectsLocationsService)List

List: Lists information about the supported locations for this service.

- name: The resource that owns the locations collection, if applicable.

typeProjectsService

type ProjectsService struct {Locations *ProjectsLocationsService// contains filtered or unexported fields}

funcNewProjectsService

func NewProjectsService(s *Service) *ProjectsService

typeRemoteAgentDetails

type RemoteAgentDetails struct {}

RemoteAgentDetails: RemoteAgentDetails reflects the details of a remoteagent.

typeReportStatusRequest

type ReportStatusRequest struct {// RequestId: Optional. An optional request ID to identify requests. Specify a// unique request ID so that if you must retry your request, the server will// know to ignore the request if it has already been completed. The server will// guarantee that for at least 60 minutes since the first request. For example,// consider a situation where you make an initial request and the request times// out. If you make the request again with the same request ID, the server can// check if original operation with the same request ID was received, and if// so, will ignore the second request. This prevents clients from accidentally// creating duplicate commitments. The request ID must be a valid UUID with the// exception that zero UUID is not supported// (00000000-0000-0000-0000-000000000000).RequestIdstring `json:"requestId,omitempty"`// ResourceInfo: Required. Resource info of the connector.ResourceInfo *ResourceInfo `json:"resourceInfo,omitempty"`// ValidateOnly: Optional. If set, validates request by executing a dry-run// which would not alter the resource in any way.ValidateOnlybool `json:"validateOnly,omitempty"`// ForceSendFields is a list of field names (e.g. "RequestId") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "RequestId") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ReportStatusRequest: Request report the connector status.

func (ReportStatusRequest)MarshalJSON

func (sReportStatusRequest) MarshalJSON() ([]byte,error)

typeResolveConnectionsResponse

type ResolveConnectionsResponse struct {// ConnectionDetails: A list of BeyondCorp Connections with details in the// project.ConnectionDetails []*ConnectionDetails `json:"connectionDetails,omitempty"`// NextPageToken: A token to retrieve the next page of results, or empty if// there are no more results in the list.NextPageTokenstring `json:"nextPageToken,omitempty"`// Unreachable: A list of locations that could not be reached.Unreachable []string `json:"unreachable,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "ConnectionDetails") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "ConnectionDetails") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ResolveConnectionsResponse: Response message forBeyondCorp.ResolveConnections.

func (ResolveConnectionsResponse)MarshalJSON

func (sResolveConnectionsResponse) MarshalJSON() ([]byte,error)

typeResolveInstanceConfigResponse

type ResolveInstanceConfigResponse struct {// InstanceConfig: ConnectorInstanceConfig.InstanceConfig *ConnectorInstanceConfig `json:"instanceConfig,omitempty"`// ServerResponse contains the HTTP response code and headers from the server.googleapi.ServerResponse `json:"-"`// ForceSendFields is a list of field names (e.g. "InstanceConfig") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "InstanceConfig") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ResolveInstanceConfigResponse: Response message forBeyondCorp.ResolveInstanceConfig.

func (ResolveInstanceConfigResponse)MarshalJSON

func (sResolveInstanceConfigResponse) MarshalJSON() ([]byte,error)

typeResourceInfo

type ResourceInfo struct {// Id: Required. Unique Id for the resource.Idstring `json:"id,omitempty"`// Resource: Specific details for the resource.Resourcegoogleapi.RawMessage `json:"resource,omitempty"`// Status: Overall health status. Overall status is derived based on the status// of each sub level resources.//// Possible values://   "HEALTH_STATUS_UNSPECIFIED" - Health status is unknown: not initialized or// failed to retrieve.//   "HEALTHY" - The resource is healthy.//   "UNHEALTHY" - The resource is unhealthy.//   "UNRESPONSIVE" - The resource is unresponsive.//   "DEGRADED" - Some sub-resources are UNHEALTHY.Statusstring `json:"status,omitempty"`// Sub: List of Info for the sub level resources.Sub []*ResourceInfo `json:"sub,omitempty"`// Time: The timestamp to collect the info. It is suggested to be set by the// topmost level resource only.Timestring `json:"time,omitempty"`// ForceSendFields is a list of field names (e.g. "Id") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Id") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ResourceInfo: ResourceInfo represents the information/status of theassociated resource.

func (ResourceInfo)MarshalJSON

func (sResourceInfo) MarshalJSON() ([]byte,error)

typeService

type Service struct {BasePathstring// API endpoint base URLUserAgentstring// optional additional User-Agent fragmentOrganizations *OrganizationsServiceProjects *ProjectsService// contains filtered or unexported fields}

funcNewdeprecated

func New(client *http.Client) (*Service,error)

New creates a new Service. It uses the provided http.Client for requests.

Deprecated: please use NewService instead.To provide a custom HTTP client, use option.WithHTTPClient.If you are using google.golang.org/api/googleapis/transport.APIKey, use option.WithAPIKey with NewService instead.

funcNewService

func NewService(ctxcontext.Context, opts ...option.ClientOption) (*Service,error)

NewService creates a new Service.

typeServiceAccount

type ServiceAccount struct {// Email: Email address of the service account.Emailstring `json:"email,omitempty"`// ForceSendFields is a list of field names (e.g. "Email") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Email") to include in API// requests with the JSON null value. By default, fields with empty values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

ServiceAccount: ServiceAccount represents a GCP service account.

func (ServiceAccount)MarshalJSON

func (sServiceAccount) MarshalJSON() ([]byte,error)

typeTunnelv1ProtoTunnelerError

type Tunnelv1ProtoTunnelerError struct {// Err: Original raw errorErrstring `json:"err,omitempty"`// Retryable: retryable isn't used for now, but we may want to reuse it in the// future.Retryablebool `json:"retryable,omitempty"`// ForceSendFields is a list of field names (e.g. "Err") to unconditionally// include in API requests. By default, fields with empty or default values are// omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "Err") to include in API requests// with the JSON null value. By default, fields with empty values are omitted// from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Tunnelv1ProtoTunnelerError: TunnelerError is an error proto for errorsreturned by the connection manager.

func (Tunnelv1ProtoTunnelerError)MarshalJSON

func (sTunnelv1ProtoTunnelerError) MarshalJSON() ([]byte,error)

typeTunnelv1ProtoTunnelerInfo

type Tunnelv1ProtoTunnelerInfo struct {// BackoffRetryCount: backoff_retry_count stores the number of times the// tunneler has been retried by tunManager for current backoff sequence. Gets// reset to 0 if time difference between 2 consecutive retries exceeds// backoffRetryResetTime.BackoffRetryCountint64 `json:"backoffRetryCount,omitempty"`// Id: id is the unique id of a tunneler.Idstring `json:"id,omitempty"`// LatestErr: latest_err stores the Error for the latest tunneler failure. Gets// reset everytime the tunneler is retried by tunManager.LatestErr *Tunnelv1ProtoTunnelerError `json:"latestErr,omitempty"`// LatestRetryTime: latest_retry_time stores the time when the tunneler was// last restarted.LatestRetryTimestring `json:"latestRetryTime,omitempty"`// TotalRetryCount: total_retry_count stores the total number of times the// tunneler has been retried by tunManager.TotalRetryCountint64 `json:"totalRetryCount,omitempty"`// ForceSendFields is a list of field names (e.g. "BackoffRetryCount") to// unconditionally include in API requests. By default, fields with empty or// default values are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-ForceSendFields for more// details.ForceSendFields []string `json:"-"`// NullFields is a list of field names (e.g. "BackoffRetryCount") to include in// API requests with the JSON null value. By default, fields with empty values// are omitted from API requests. See//https://pkg.go.dev/google.golang.org/api#hdr-NullFields for more details.NullFields []string `json:"-"`}

Tunnelv1ProtoTunnelerInfo: TunnelerInfo contains metadata about tunnelerlaunched by connection manager.

func (Tunnelv1ProtoTunnelerInfo)MarshalJSON

func (sTunnelv1ProtoTunnelerInfo) MarshalJSON() ([]byte,error)

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp