Documentation ¶
Index ¶
- Variables
- func RegisterAccessApprovalServer(s *grpc.Server, srv AccessApprovalServer)
- type AccessApprovalClient
- type AccessApprovalServer
- type AccessApprovalSettings
- func (*AccessApprovalSettings) Descriptor() ([]byte, []int)
- func (m *AccessApprovalSettings) GetEnrolledAncestor() bool
- func (m *AccessApprovalSettings) GetEnrolledServices() []*EnrolledService
- func (m *AccessApprovalSettings) GetName() string
- func (m *AccessApprovalSettings) GetNotificationEmails() []string
- func (*AccessApprovalSettings) ProtoMessage()
- func (m *AccessApprovalSettings) Reset()
- func (m *AccessApprovalSettings) String() string
- func (m *AccessApprovalSettings) XXX_DiscardUnknown()
- func (m *AccessApprovalSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccessApprovalSettings) XXX_Merge(src proto.Message)
- func (m *AccessApprovalSettings) XXX_Size() int
- func (m *AccessApprovalSettings) XXX_Unmarshal(b []byte) error
- type AccessLocations
- func (*AccessLocations) Descriptor() ([]byte, []int)
- func (m *AccessLocations) GetPrincipalOfficeCountry() string
- func (m *AccessLocations) GetPrincipalPhysicalLocationCountry() string
- func (*AccessLocations) ProtoMessage()
- func (m *AccessLocations) Reset()
- func (m *AccessLocations) String() string
- func (m *AccessLocations) XXX_DiscardUnknown()
- func (m *AccessLocations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccessLocations) XXX_Merge(src proto.Message)
- func (m *AccessLocations) XXX_Size() int
- func (m *AccessLocations) XXX_Unmarshal(b []byte) error
- type AccessReason
- func (*AccessReason) Descriptor() ([]byte, []int)
- func (m *AccessReason) GetDetail() string
- func (m *AccessReason) GetType() AccessReason_Type
- func (*AccessReason) ProtoMessage()
- func (m *AccessReason) Reset()
- func (m *AccessReason) String() string
- func (m *AccessReason) XXX_DiscardUnknown()
- func (m *AccessReason) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AccessReason) XXX_Merge(src proto.Message)
- func (m *AccessReason) XXX_Size() int
- func (m *AccessReason) XXX_Unmarshal(b []byte) error
- type AccessReason_Type
- type ApprovalRequest
- func (*ApprovalRequest) Descriptor() ([]byte, []int)
- func (m *ApprovalRequest) GetApprove() *ApproveDecision
- func (m *ApprovalRequest) GetDecision() isApprovalRequest_Decision
- func (m *ApprovalRequest) GetDismiss() *DismissDecision
- func (m *ApprovalRequest) GetName() string
- func (m *ApprovalRequest) GetRequestTime() *timestamp.Timestamp
- func (m *ApprovalRequest) GetRequestedExpiration() *timestamp.Timestamp
- func (m *ApprovalRequest) GetRequestedLocations() *AccessLocations
- func (m *ApprovalRequest) GetRequestedReason() *AccessReason
- func (m *ApprovalRequest) GetRequestedResourceName() string
- func (m *ApprovalRequest) GetRequestedResourceProperties() *ResourceProperties
- func (*ApprovalRequest) ProtoMessage()
- func (m *ApprovalRequest) Reset()
- func (m *ApprovalRequest) String() string
- func (m *ApprovalRequest) XXX_DiscardUnknown()
- func (m *ApprovalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ApprovalRequest) XXX_Merge(src proto.Message)
- func (*ApprovalRequest) XXX_OneofWrappers() []interface{}
- func (m *ApprovalRequest) XXX_Size() int
- func (m *ApprovalRequest) XXX_Unmarshal(b []byte) error
- type ApprovalRequest_Approve
- type ApprovalRequest_Dismiss
- type ApproveApprovalRequestMessage
- func (*ApproveApprovalRequestMessage) Descriptor() ([]byte, []int)
- func (m *ApproveApprovalRequestMessage) GetExpireTime() *timestamp.Timestamp
- func (m *ApproveApprovalRequestMessage) GetName() string
- func (*ApproveApprovalRequestMessage) ProtoMessage()
- func (m *ApproveApprovalRequestMessage) Reset()
- func (m *ApproveApprovalRequestMessage) String() string
- func (m *ApproveApprovalRequestMessage) XXX_DiscardUnknown()
- func (m *ApproveApprovalRequestMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ApproveApprovalRequestMessage) XXX_Merge(src proto.Message)
- func (m *ApproveApprovalRequestMessage) XXX_Size() int
- func (m *ApproveApprovalRequestMessage) XXX_Unmarshal(b []byte) error
- type ApproveDecision
- func (*ApproveDecision) Descriptor() ([]byte, []int)
- func (m *ApproveDecision) GetApproveTime() *timestamp.Timestamp
- func (m *ApproveDecision) GetExpireTime() *timestamp.Timestamp
- func (*ApproveDecision) ProtoMessage()
- func (m *ApproveDecision) Reset()
- func (m *ApproveDecision) String() string
- func (m *ApproveDecision) XXX_DiscardUnknown()
- func (m *ApproveDecision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ApproveDecision) XXX_Merge(src proto.Message)
- func (m *ApproveDecision) XXX_Size() int
- func (m *ApproveDecision) XXX_Unmarshal(b []byte) error
- type DeleteAccessApprovalSettingsMessage
- func (*DeleteAccessApprovalSettingsMessage) Descriptor() ([]byte, []int)
- func (m *DeleteAccessApprovalSettingsMessage) GetName() string
- func (*DeleteAccessApprovalSettingsMessage) ProtoMessage()
- func (m *DeleteAccessApprovalSettingsMessage) Reset()
- func (m *DeleteAccessApprovalSettingsMessage) String() string
- func (m *DeleteAccessApprovalSettingsMessage) XXX_DiscardUnknown()
- func (m *DeleteAccessApprovalSettingsMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteAccessApprovalSettingsMessage) XXX_Merge(src proto.Message)
- func (m *DeleteAccessApprovalSettingsMessage) XXX_Size() int
- func (m *DeleteAccessApprovalSettingsMessage) XXX_Unmarshal(b []byte) error
- type DismissApprovalRequestMessage
- func (*DismissApprovalRequestMessage) Descriptor() ([]byte, []int)
- func (m *DismissApprovalRequestMessage) GetName() string
- func (*DismissApprovalRequestMessage) ProtoMessage()
- func (m *DismissApprovalRequestMessage) Reset()
- func (m *DismissApprovalRequestMessage) String() string
- func (m *DismissApprovalRequestMessage) XXX_DiscardUnknown()
- func (m *DismissApprovalRequestMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DismissApprovalRequestMessage) XXX_Merge(src proto.Message)
- func (m *DismissApprovalRequestMessage) XXX_Size() int
- func (m *DismissApprovalRequestMessage) XXX_Unmarshal(b []byte) error
- type DismissDecision
- func (*DismissDecision) Descriptor() ([]byte, []int)
- func (m *DismissDecision) GetDismissTime() *timestamp.Timestamp
- func (*DismissDecision) ProtoMessage()
- func (m *DismissDecision) Reset()
- func (m *DismissDecision) String() string
- func (m *DismissDecision) XXX_DiscardUnknown()
- func (m *DismissDecision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DismissDecision) XXX_Merge(src proto.Message)
- func (m *DismissDecision) XXX_Size() int
- func (m *DismissDecision) XXX_Unmarshal(b []byte) error
- type EnrolledService
- func (*EnrolledService) Descriptor() ([]byte, []int)
- func (m *EnrolledService) GetCloudProduct() string
- func (m *EnrolledService) GetEnrollmentLevel() EnrollmentLevel
- func (*EnrolledService) ProtoMessage()
- func (m *EnrolledService) Reset()
- func (m *EnrolledService) String() string
- func (m *EnrolledService) XXX_DiscardUnknown()
- func (m *EnrolledService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EnrolledService) XXX_Merge(src proto.Message)
- func (m *EnrolledService) XXX_Size() int
- func (m *EnrolledService) XXX_Unmarshal(b []byte) error
- type EnrollmentLevel
- type GetAccessApprovalSettingsMessage
- func (*GetAccessApprovalSettingsMessage) Descriptor() ([]byte, []int)
- func (m *GetAccessApprovalSettingsMessage) GetName() string
- func (*GetAccessApprovalSettingsMessage) ProtoMessage()
- func (m *GetAccessApprovalSettingsMessage) Reset()
- func (m *GetAccessApprovalSettingsMessage) String() string
- func (m *GetAccessApprovalSettingsMessage) XXX_DiscardUnknown()
- func (m *GetAccessApprovalSettingsMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetAccessApprovalSettingsMessage) XXX_Merge(src proto.Message)
- func (m *GetAccessApprovalSettingsMessage) XXX_Size() int
- func (m *GetAccessApprovalSettingsMessage) XXX_Unmarshal(b []byte) error
- type GetApprovalRequestMessage
- func (*GetApprovalRequestMessage) Descriptor() ([]byte, []int)
- func (m *GetApprovalRequestMessage) GetName() string
- func (*GetApprovalRequestMessage) ProtoMessage()
- func (m *GetApprovalRequestMessage) Reset()
- func (m *GetApprovalRequestMessage) String() string
- func (m *GetApprovalRequestMessage) XXX_DiscardUnknown()
- func (m *GetApprovalRequestMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetApprovalRequestMessage) XXX_Merge(src proto.Message)
- func (m *GetApprovalRequestMessage) XXX_Size() int
- func (m *GetApprovalRequestMessage) XXX_Unmarshal(b []byte) error
- type ListApprovalRequestsMessage
- func (*ListApprovalRequestsMessage) Descriptor() ([]byte, []int)
- func (m *ListApprovalRequestsMessage) GetFilter() string
- func (m *ListApprovalRequestsMessage) GetPageSize() int32
- func (m *ListApprovalRequestsMessage) GetPageToken() string
- func (m *ListApprovalRequestsMessage) GetParent() string
- func (*ListApprovalRequestsMessage) ProtoMessage()
- func (m *ListApprovalRequestsMessage) Reset()
- func (m *ListApprovalRequestsMessage) String() string
- func (m *ListApprovalRequestsMessage) XXX_DiscardUnknown()
- func (m *ListApprovalRequestsMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListApprovalRequestsMessage) XXX_Merge(src proto.Message)
- func (m *ListApprovalRequestsMessage) XXX_Size() int
- func (m *ListApprovalRequestsMessage) XXX_Unmarshal(b []byte) error
- type ListApprovalRequestsResponse
- func (*ListApprovalRequestsResponse) Descriptor() ([]byte, []int)
- func (m *ListApprovalRequestsResponse) GetApprovalRequests() []*ApprovalRequest
- func (m *ListApprovalRequestsResponse) GetNextPageToken() string
- func (*ListApprovalRequestsResponse) ProtoMessage()
- func (m *ListApprovalRequestsResponse) Reset()
- func (m *ListApprovalRequestsResponse) String() string
- func (m *ListApprovalRequestsResponse) XXX_DiscardUnknown()
- func (m *ListApprovalRequestsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListApprovalRequestsResponse) XXX_Merge(src proto.Message)
- func (m *ListApprovalRequestsResponse) XXX_Size() int
- func (m *ListApprovalRequestsResponse) XXX_Unmarshal(b []byte) error
- type ResourceProperties
- func (*ResourceProperties) Descriptor() ([]byte, []int)
- func (m *ResourceProperties) GetExcludesDescendants() bool
- func (*ResourceProperties) ProtoMessage()
- func (m *ResourceProperties) Reset()
- func (m *ResourceProperties) String() string
- func (m *ResourceProperties) XXX_DiscardUnknown()
- func (m *ResourceProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResourceProperties) XXX_Merge(src proto.Message)
- func (m *ResourceProperties) XXX_Size() int
- func (m *ResourceProperties) XXX_Unmarshal(b []byte) error
- type UnimplementedAccessApprovalServer
- func (*UnimplementedAccessApprovalServer) ApproveApprovalRequest(ctx context.Context, req *ApproveApprovalRequestMessage) (*ApprovalRequest, error)
- func (*UnimplementedAccessApprovalServer) DeleteAccessApprovalSettings(ctx context.Context, req *DeleteAccessApprovalSettingsMessage) (*empty.Empty, error)
- func (*UnimplementedAccessApprovalServer) DismissApprovalRequest(ctx context.Context, req *DismissApprovalRequestMessage) (*ApprovalRequest, error)
- func (*UnimplementedAccessApprovalServer) GetAccessApprovalSettings(ctx context.Context, req *GetAccessApprovalSettingsMessage) (*AccessApprovalSettings, error)
- func (*UnimplementedAccessApprovalServer) GetApprovalRequest(ctx context.Context, req *GetApprovalRequestMessage) (*ApprovalRequest, error)
- func (*UnimplementedAccessApprovalServer) ListApprovalRequests(ctx context.Context, req *ListApprovalRequestsMessage) (*ListApprovalRequestsResponse, error)
- func (*UnimplementedAccessApprovalServer) UpdateAccessApprovalSettings(ctx context.Context, req *UpdateAccessApprovalSettingsMessage) (*AccessApprovalSettings, error)
- type UpdateAccessApprovalSettingsMessage
- func (*UpdateAccessApprovalSettingsMessage) Descriptor() ([]byte, []int)
- func (m *UpdateAccessApprovalSettingsMessage) GetSettings() *AccessApprovalSettings
- func (m *UpdateAccessApprovalSettingsMessage) GetUpdateMask() *field_mask.FieldMask
- func (*UpdateAccessApprovalSettingsMessage) ProtoMessage()
- func (m *UpdateAccessApprovalSettingsMessage) Reset()
- func (m *UpdateAccessApprovalSettingsMessage) String() string
- func (m *UpdateAccessApprovalSettingsMessage) XXX_DiscardUnknown()
- func (m *UpdateAccessApprovalSettingsMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateAccessApprovalSettingsMessage) XXX_Merge(src proto.Message)
- func (m *UpdateAccessApprovalSettingsMessage) XXX_Size() int
- func (m *UpdateAccessApprovalSettingsMessage) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
var AccessReason_Type_name = map[int32]string{
0: "TYPE_UNSPECIFIED",
1: "CUSTOMER_INITIATED_SUPPORT",
2: "GOOGLE_INITIATED_SERVICE",
3: "GOOGLE_INITIATED_REVIEW",
}
var AccessReason_Type_value = map[string]int32{
"TYPE_UNSPECIFIED": 0,
"CUSTOMER_INITIATED_SUPPORT": 1,
"GOOGLE_INITIATED_SERVICE": 2,
"GOOGLE_INITIATED_REVIEW": 3,
}
var EnrollmentLevel_name = map[int32]string{
0: "ENROLLMENT_LEVEL_UNSPECIFIED",
1: "BLOCK_ALL",
}
var EnrollmentLevel_value = map[string]int32{
"ENROLLMENT_LEVEL_UNSPECIFIED": 0,
"BLOCK_ALL": 1,
}
Functions ¶
func RegisterAccessApprovalServer ¶
func RegisterAccessApprovalServer(s *grpc.Server, srv AccessApprovalServer)
Types ¶
type AccessApprovalClient ¶
type AccessApprovalClient interface { // Lists approval requests associated with a project, folder, or organization. // Approval requests can be filtered by state (pending, active, dismissed). // The order is reverse chronological. ListApprovalRequests(ctx context.Context, in *ListApprovalRequestsMessage, opts ...grpc.CallOption) (*ListApprovalRequestsResponse, error) // Gets an approval request. Returns NOT_FOUND if the request does not exist. GetApprovalRequest(ctx context.Context, in *GetApprovalRequestMessage, opts ...grpc.CallOption) (*ApprovalRequest, error) // Approves a request and returns the updated ApprovalRequest. // // Returns NOT_FOUND if the request does not exist. Returns // FAILED_PRECONDITION if the request exists but is not in a pending state. ApproveApprovalRequest(ctx context.Context, in *ApproveApprovalRequestMessage, opts ...grpc.CallOption) (*ApprovalRequest, error) // Dismisses a request. Returns the updated ApprovalRequest. // // NOTE: This does not deny access to the resource if another request has been // made and approved. It is equivalent in effect to ignoring the request // altogether. // // Returns NOT_FOUND if the request does not exist. // // Returns FAILED_PRECONDITION if the request exists but is not in a pending // state. DismissApprovalRequest(ctx context.Context, in *DismissApprovalRequestMessage, opts ...grpc.CallOption) (*ApprovalRequest, error) // Gets the settings associated with a project, folder, or organization. GetAccessApprovalSettings(ctx context.Context, in *GetAccessApprovalSettingsMessage, opts ...grpc.CallOption) (*AccessApprovalSettings, error) // Updates the settings associated with a project, folder, or organization. // Settings to update are determined by the value of field_mask. UpdateAccessApprovalSettings(ctx context.Context, in *UpdateAccessApprovalSettingsMessage, opts ...grpc.CallOption) (*AccessApprovalSettings, error) // Deletes the settings associated with a project, folder, or organization. // This will have the effect of disabling Access Approval for the project, // folder, or organization, but only if all ancestors also have Access // Approval disabled. If Access Approval is enabled at a higher level of the // hierarchy, then Access Approval will still be enabled at this level as // the settings are inherited. DeleteAccessApprovalSettings(ctx context.Context, in *DeleteAccessApprovalSettingsMessage, opts ...grpc.CallOption) (*empty.Empty, error) }
AccessApprovalClient is the client API for AccessApproval service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAccessApprovalClient ¶
func NewAccessApprovalClient(cc grpc.ClientConnInterface) AccessApprovalClient
type AccessApprovalServer ¶
type AccessApprovalServer interface { // Lists approval requests associated with a project, folder, or organization. // Approval requests can be filtered by state (pending, active, dismissed). // The order is reverse chronological. ListApprovalRequests(context.Context, *ListApprovalRequestsMessage) (*ListApprovalRequestsResponse, error) // Gets an approval request. Returns NOT_FOUND if the request does not exist. GetApprovalRequest(context.Context, *GetApprovalRequestMessage) (*ApprovalRequest, error) // Approves a request and returns the updated ApprovalRequest. // // Returns NOT_FOUND if the request does not exist. Returns // FAILED_PRECONDITION if the request exists but is not in a pending state. ApproveApprovalRequest(context.Context, *ApproveApprovalRequestMessage) (*ApprovalRequest, error) // Dismisses a request. Returns the updated ApprovalRequest. // // NOTE: This does not deny access to the resource if another request has been // made and approved. It is equivalent in effect to ignoring the request // altogether. // // Returns NOT_FOUND if the request does not exist. // // Returns FAILED_PRECONDITION if the request exists but is not in a pending // state. DismissApprovalRequest(context.Context, *DismissApprovalRequestMessage) (*ApprovalRequest, error) // Gets the settings associated with a project, folder, or organization. GetAccessApprovalSettings(context.Context, *GetAccessApprovalSettingsMessage) (*AccessApprovalSettings, error) // Updates the settings associated with a project, folder, or organization. // Settings to update are determined by the value of field_mask. UpdateAccessApprovalSettings(context.Context, *UpdateAccessApprovalSettingsMessage) (*AccessApprovalSettings, error) // Deletes the settings associated with a project, folder, or organization. // This will have the effect of disabling Access Approval for the project, // folder, or organization, but only if all ancestors also have Access // Approval disabled. If Access Approval is enabled at a higher level of the // hierarchy, then Access Approval will still be enabled at this level as // the settings are inherited. DeleteAccessApprovalSettings(context.Context, *DeleteAccessApprovalSettingsMessage) (*empty.Empty, error) }
AccessApprovalServer is the server API for AccessApproval service.
type AccessApprovalSettings ¶
type AccessApprovalSettings struct { // The resource name of the settings. Format is one of: // <ol> // <li>"projects/{project_id}/accessApprovalSettings"</li> // <li>"folders/{folder_id}/accessApprovalSettings"</li> // <li>"organizations/{organization_id}/accessApprovalSettings"</li> // <ol> Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // A list of email addresses to which notifications relating to approval // requests should be sent. Notifications relating to a resource will be sent // to all emails in the settings of ancestor resources of that resource. A // maximum of 50 email addresses are allowed. NotificationEmails []string `protobuf:"bytes,2,rep,name=notification_emails,json=notificationEmails,proto3" json:"notification_emails,omitempty"` // A list of Google Cloud Services for which the given resource has Access // Approval enrolled. Access requests for the resource given by name against // any of these services contained here will be required to have explicit // approval. If name refers to an organization, enrollment can be done for // individual services. If name refers to a folder or project, enrollment can // only be done on an all or nothing basis. // // If a cloud_product is repeated in this list, the first entry will be // honored and all following entries will be discarded. A maximum of 10 // enrolled services will be enforced, to be expanded as the set of supported // services is expanded. EnrolledServices []*EnrolledService `protobuf:"bytes,3,rep,name=enrolled_services,json=enrolledServices,proto3" json:"enrolled_services,omitempty"` // Output only. This field is read only (not settable via // UpdateAccessAccessApprovalSettings method). If the field is true, that // indicates that at least one service is enrolled for Access Approval in one // or more ancestors of the Project or Folder (this field will always be // unset for the organization since organizations do not have ancestors). EnrolledAncestor bool `protobuf:"varint,4,opt,name=enrolled_ancestor,json=enrolledAncestor,proto3" json:"enrolled_ancestor,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Settings on a Project/Folder/Organization related to Access Approval.
func (*AccessApprovalSettings) Descriptor ¶
func (*AccessApprovalSettings) Descriptor() ([]byte, []int)
func (*AccessApprovalSettings) GetEnrolledAncestor ¶
func (m *AccessApprovalSettings) GetEnrolledAncestor() bool
func (*AccessApprovalSettings) GetEnrolledServices ¶
func (m *AccessApprovalSettings) GetEnrolledServices() []*EnrolledService
func (*AccessApprovalSettings) GetName ¶
func (m *AccessApprovalSettings) GetName() string
func (*AccessApprovalSettings) GetNotificationEmails ¶
func (m *AccessApprovalSettings) GetNotificationEmails() []string
func (*AccessApprovalSettings) ProtoMessage ¶
func (*AccessApprovalSettings) ProtoMessage()
func (*AccessApprovalSettings) Reset ¶
func (m *AccessApprovalSettings) Reset()
func (*AccessApprovalSettings) String ¶
func (m *AccessApprovalSettings) String() string
func (*AccessApprovalSettings) XXX_DiscardUnknown ¶
func (m *AccessApprovalSettings) XXX_DiscardUnknown()
func (*AccessApprovalSettings) XXX_Marshal ¶
func (m *AccessApprovalSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccessApprovalSettings) XXX_Merge ¶
func (m *AccessApprovalSettings) XXX_Merge(src proto.Message)
func (*AccessApprovalSettings) XXX_Size ¶
func (m *AccessApprovalSettings) XXX_Size() int
func (*AccessApprovalSettings) XXX_Unmarshal ¶
func (m *AccessApprovalSettings) XXX_Unmarshal(b []byte) error
type AccessLocations ¶
type AccessLocations struct { // The "home office" location of the principal. A two-letter country code // (ISO 3166-1 alpha-2), such as "US", "DE" or "GB" or a region code. In some // limited situations Google systems may refer refer to a region code instead // of a country code. // Possible Region Codes: // <ol> // <li>ASI: Asia</li> // <li>EUR: Europe</li> // <li>OCE: Oceania</li> // <li>AFR: Africa</li> // <li>NAM: North America</li> // <li>SAM: South America</li> // <li>ANT: Antarctica</li> // <li>ANY: Any location</li> // </ol> PrincipalOfficeCountry string `` /* 129-byte string literal not displayed */ // Physical location of the principal at the time of the access. A // two-letter country code (ISO 3166-1 alpha-2), such as "US", "DE" or "GB" or // a region code. In some limited situations Google systems may refer refer to // a region code instead of a country code. // Possible Region Codes: // <ol> // <li>ASI: Asia</li> // <li>EUR: Europe</li> // <li>OCE: Oceania</li> // <li>AFR: Africa</li> // <li>NAM: North America</li> // <li>SAM: South America</li> // <li>ANT: Antarctica</li> // <li>ANY: Any location</li> // </ol> PrincipalPhysicalLocationCountry string `` /* 161-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Home office and physical location of the principal.
func (*AccessLocations) Descriptor ¶
func (*AccessLocations) Descriptor() ([]byte, []int)
func (*AccessLocations) GetPrincipalOfficeCountry ¶
func (m *AccessLocations) GetPrincipalOfficeCountry() string
func (*AccessLocations) GetPrincipalPhysicalLocationCountry ¶
func (m *AccessLocations) GetPrincipalPhysicalLocationCountry() string
func (*AccessLocations) ProtoMessage ¶
func (*AccessLocations) ProtoMessage()
func (*AccessLocations) Reset ¶
func (m *AccessLocations) Reset()
func (*AccessLocations) String ¶
func (m *AccessLocations) String() string
func (*AccessLocations) XXX_DiscardUnknown ¶
func (m *AccessLocations) XXX_DiscardUnknown()
func (*AccessLocations) XXX_Marshal ¶
func (m *AccessLocations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccessLocations) XXX_Merge ¶
func (m *AccessLocations) XXX_Merge(src proto.Message)
func (*AccessLocations) XXX_Size ¶
func (m *AccessLocations) XXX_Size() int
func (*AccessLocations) XXX_Unmarshal ¶
func (m *AccessLocations) XXX_Unmarshal(b []byte) error
type AccessReason ¶
type AccessReason struct { // Type of access justification. Type AccessReason_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.accessapproval.v1.AccessReason_Type" json:"type,omitempty"` // More detail about certain reason types. See comments for each type above. Detail string `protobuf:"bytes,2,opt,name=detail,proto3" json:"detail,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AccessReason) Descriptor ¶
func (*AccessReason) Descriptor() ([]byte, []int)
func (*AccessReason) GetDetail ¶
func (m *AccessReason) GetDetail() string
func (*AccessReason) GetType ¶
func (m *AccessReason) GetType() AccessReason_Type
func (*AccessReason) ProtoMessage ¶
func (*AccessReason) ProtoMessage()
func (*AccessReason) Reset ¶
func (m *AccessReason) Reset()
func (*AccessReason) String ¶
func (m *AccessReason) String() string
func (*AccessReason) XXX_DiscardUnknown ¶
func (m *AccessReason) XXX_DiscardUnknown()
func (*AccessReason) XXX_Marshal ¶
func (m *AccessReason) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccessReason) XXX_Merge ¶
func (m *AccessReason) XXX_Merge(src proto.Message)
func (*AccessReason) XXX_Size ¶
func (m *AccessReason) XXX_Size() int
func (*AccessReason) XXX_Unmarshal ¶
func (m *AccessReason) XXX_Unmarshal(b []byte) error
type AccessReason_Type ¶
type AccessReason_Type int32
Type of access justification.
const ( // Default value for proto, shouldn't be used. AccessReason_TYPE_UNSPECIFIED AccessReason_Type = 0 // Customer made a request or raised an issue that required the principal to // access customer data. `detail` is of the form ("#####" is the issue ID): // <ol> // <li>"Feedback Report: #####"</li> // <li>"Case Number: #####"</li> // <li>"Case ID: #####"</li> // <li>"E-PIN Reference: #####"</li> // <li>"Google-#####"</li> // <li>"T-#####"</li> // </ol> AccessReason_CUSTOMER_INITIATED_SUPPORT AccessReason_Type = 1 // The principal accessed customer data in order to diagnose or resolve a // suspected issue in services or a known outage. Often this access is used // to confirm that customers are not affected by a suspected service issue // or to remediate a reversible system issue. AccessReason_GOOGLE_INITIATED_SERVICE AccessReason_Type = 2 // Google initiated service for security, fraud, abuse, or compliance // purposes. AccessReason_GOOGLE_INITIATED_REVIEW AccessReason_Type = 3 )
func (AccessReason_Type) EnumDescriptor ¶
func (AccessReason_Type) EnumDescriptor() ([]byte, []int)
func (AccessReason_Type) String ¶
func (x AccessReason_Type) String() string
type ApprovalRequest ¶
type ApprovalRequest struct { // The resource name of the request. Format is // "{projects|folders|organizations}/{id}/approvalRequests/{approval_request_id}". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The resource for which approval is being requested. The format of the // resource name is defined at // https://cloud.google.com/apis/design/resource_names. The resource name here // may either be a "full" resource name (e.g. // "//library.googleapis.com/shelves/shelf1/books/book2") or a "relative" // resource name (e.g. "shelves/shelf1/books/book2") as described in the // resource name specification. RequestedResourceName string `` /* 126-byte string literal not displayed */ // Properties related to the resource represented by requested_resource_name. RequestedResourceProperties *ResourceProperties `` /* 144-byte string literal not displayed */ // The justification for which approval is being requested. RequestedReason *AccessReason `protobuf:"bytes,3,opt,name=requested_reason,json=requestedReason,proto3" json:"requested_reason,omitempty"` // The locations for which approval is being requested. RequestedLocations *AccessLocations `protobuf:"bytes,4,opt,name=requested_locations,json=requestedLocations,proto3" json:"requested_locations,omitempty"` // The time at which approval was requested. RequestTime *timestamp.Timestamp `protobuf:"bytes,5,opt,name=request_time,json=requestTime,proto3" json:"request_time,omitempty"` // The requested expiration for the approval. If the request is approved, // access will be granted from the time of approval until the expiration time. RequestedExpiration *timestamp.Timestamp `protobuf:"bytes,6,opt,name=requested_expiration,json=requestedExpiration,proto3" json:"requested_expiration,omitempty"` // The current decision on the approval request. // // Types that are valid to be assigned to Decision: // *ApprovalRequest_Approve // *ApprovalRequest_Dismiss Decision isApprovalRequest_Decision `protobuf_oneof:"decision"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A request for the customer to approve access to a resource.
func (*ApprovalRequest) Descriptor ¶
func (*ApprovalRequest) Descriptor() ([]byte, []int)
func (*ApprovalRequest) GetApprove ¶
func (m *ApprovalRequest) GetApprove() *ApproveDecision
func (*ApprovalRequest) GetDecision ¶
func (m *ApprovalRequest) GetDecision() isApprovalRequest_Decision
func (*ApprovalRequest) GetDismiss ¶
func (m *ApprovalRequest) GetDismiss() *DismissDecision
func (*ApprovalRequest) GetName ¶
func (m *ApprovalRequest) GetName() string
func (*ApprovalRequest) GetRequestTime ¶
func (m *ApprovalRequest) GetRequestTime() *timestamp.Timestamp
func (*ApprovalRequest) GetRequestedExpiration ¶
func (m *ApprovalRequest) GetRequestedExpiration() *timestamp.Timestamp
func (*ApprovalRequest) GetRequestedLocations ¶
func (m *ApprovalRequest) GetRequestedLocations() *AccessLocations
func (*ApprovalRequest) GetRequestedReason ¶
func (m *ApprovalRequest) GetRequestedReason() *AccessReason
func (*ApprovalRequest) GetRequestedResourceName ¶
func (m *ApprovalRequest) GetRequestedResourceName() string
func (*ApprovalRequest) GetRequestedResourceProperties ¶
func (m *ApprovalRequest) GetRequestedResourceProperties() *ResourceProperties
func (*ApprovalRequest) ProtoMessage ¶
func (*ApprovalRequest) ProtoMessage()
func (*ApprovalRequest) Reset ¶
func (m *ApprovalRequest) Reset()
func (*ApprovalRequest) String ¶
func (m *ApprovalRequest) String() string
func (*ApprovalRequest) XXX_DiscardUnknown ¶
func (m *ApprovalRequest) XXX_DiscardUnknown()
func (*ApprovalRequest) XXX_Marshal ¶
func (m *ApprovalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ApprovalRequest) XXX_Merge ¶
func (m *ApprovalRequest) XXX_Merge(src proto.Message)
func (*ApprovalRequest) XXX_OneofWrappers ¶
func (*ApprovalRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ApprovalRequest) XXX_Size ¶
func (m *ApprovalRequest) XXX_Size() int
func (*ApprovalRequest) XXX_Unmarshal ¶
func (m *ApprovalRequest) XXX_Unmarshal(b []byte) error
type ApprovalRequest_Approve ¶
type ApprovalRequest_Approve struct {
Approve *ApproveDecision `protobuf:"bytes,7,opt,name=approve,proto3,oneof"`
}
type ApprovalRequest_Dismiss ¶
type ApprovalRequest_Dismiss struct {
Dismiss *DismissDecision `protobuf:"bytes,8,opt,name=dismiss,proto3,oneof"`
}
type ApproveApprovalRequestMessage ¶
type ApproveApprovalRequestMessage struct { // Name of the approval request to approve. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The expiration time of this approval. ExpireTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to approve an ApprovalRequest.
func (*ApproveApprovalRequestMessage) Descriptor ¶
func (*ApproveApprovalRequestMessage) Descriptor() ([]byte, []int)
func (*ApproveApprovalRequestMessage) GetExpireTime ¶
func (m *ApproveApprovalRequestMessage) GetExpireTime() *timestamp.Timestamp
func (*ApproveApprovalRequestMessage) GetName ¶
func (m *ApproveApprovalRequestMessage) GetName() string
func (*ApproveApprovalRequestMessage) ProtoMessage ¶
func (*ApproveApprovalRequestMessage) ProtoMessage()
func (*ApproveApprovalRequestMessage) Reset ¶
func (m *ApproveApprovalRequestMessage) Reset()
func (*ApproveApprovalRequestMessage) String ¶
func (m *ApproveApprovalRequestMessage) String() string
func (*ApproveApprovalRequestMessage) XXX_DiscardUnknown ¶
func (m *ApproveApprovalRequestMessage) XXX_DiscardUnknown()
func (*ApproveApprovalRequestMessage) XXX_Marshal ¶
func (m *ApproveApprovalRequestMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ApproveApprovalRequestMessage) XXX_Merge ¶
func (m *ApproveApprovalRequestMessage) XXX_Merge(src proto.Message)
func (*ApproveApprovalRequestMessage) XXX_Size ¶
func (m *ApproveApprovalRequestMessage) XXX_Size() int
func (*ApproveApprovalRequestMessage) XXX_Unmarshal ¶
func (m *ApproveApprovalRequestMessage) XXX_Unmarshal(b []byte) error
type ApproveDecision ¶
type ApproveDecision struct { // The time at which approval was granted. ApproveTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=approve_time,json=approveTime,proto3" json:"approve_time,omitempty"` // The time at which the approval expires. ExpireTime *timestamp.Timestamp `protobuf:"bytes,2,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A decision that has been made to approve access to a resource.
func (*ApproveDecision) Descriptor ¶
func (*ApproveDecision) Descriptor() ([]byte, []int)
func (*ApproveDecision) GetApproveTime ¶
func (m *ApproveDecision) GetApproveTime() *timestamp.Timestamp
func (*ApproveDecision) GetExpireTime ¶
func (m *ApproveDecision) GetExpireTime() *timestamp.Timestamp
func (*ApproveDecision) ProtoMessage ¶
func (*ApproveDecision) ProtoMessage()
func (*ApproveDecision) Reset ¶
func (m *ApproveDecision) Reset()
func (*ApproveDecision) String ¶
func (m *ApproveDecision) String() string
func (*ApproveDecision) XXX_DiscardUnknown ¶
func (m *ApproveDecision) XXX_DiscardUnknown()
func (*ApproveDecision) XXX_Marshal ¶
func (m *ApproveDecision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ApproveDecision) XXX_Merge ¶
func (m *ApproveDecision) XXX_Merge(src proto.Message)
func (*ApproveDecision) XXX_Size ¶
func (m *ApproveDecision) XXX_Size() int
func (*ApproveDecision) XXX_Unmarshal ¶
func (m *ApproveDecision) XXX_Unmarshal(b []byte) error
type DeleteAccessApprovalSettingsMessage ¶
type DeleteAccessApprovalSettingsMessage struct { // Name of the AccessApprovalSettings to delete. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to delete access approval settings.
func (*DeleteAccessApprovalSettingsMessage) Descriptor ¶
func (*DeleteAccessApprovalSettingsMessage) Descriptor() ([]byte, []int)
func (*DeleteAccessApprovalSettingsMessage) GetName ¶
func (m *DeleteAccessApprovalSettingsMessage) GetName() string
func (*DeleteAccessApprovalSettingsMessage) ProtoMessage ¶
func (*DeleteAccessApprovalSettingsMessage) ProtoMessage()
func (*DeleteAccessApprovalSettingsMessage) Reset ¶
func (m *DeleteAccessApprovalSettingsMessage) Reset()
func (*DeleteAccessApprovalSettingsMessage) String ¶
func (m *DeleteAccessApprovalSettingsMessage) String() string
func (*DeleteAccessApprovalSettingsMessage) XXX_DiscardUnknown ¶
func (m *DeleteAccessApprovalSettingsMessage) XXX_DiscardUnknown()
func (*DeleteAccessApprovalSettingsMessage) XXX_Marshal ¶
func (m *DeleteAccessApprovalSettingsMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteAccessApprovalSettingsMessage) XXX_Merge ¶
func (m *DeleteAccessApprovalSettingsMessage) XXX_Merge(src proto.Message)
func (*DeleteAccessApprovalSettingsMessage) XXX_Size ¶
func (m *DeleteAccessApprovalSettingsMessage) XXX_Size() int
func (*DeleteAccessApprovalSettingsMessage) XXX_Unmarshal ¶
func (m *DeleteAccessApprovalSettingsMessage) XXX_Unmarshal(b []byte) error
type DismissApprovalRequestMessage ¶
type DismissApprovalRequestMessage struct { // Name of the ApprovalRequest to dismiss. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to dismiss an approval request.
func (*DismissApprovalRequestMessage) Descriptor ¶
func (*DismissApprovalRequestMessage) Descriptor() ([]byte, []int)
func (*DismissApprovalRequestMessage) GetName ¶
func (m *DismissApprovalRequestMessage) GetName() string
func (*DismissApprovalRequestMessage) ProtoMessage ¶
func (*DismissApprovalRequestMessage) ProtoMessage()
func (*DismissApprovalRequestMessage) Reset ¶
func (m *DismissApprovalRequestMessage) Reset()
func (*DismissApprovalRequestMessage) String ¶
func (m *DismissApprovalRequestMessage) String() string
func (*DismissApprovalRequestMessage) XXX_DiscardUnknown ¶
func (m *DismissApprovalRequestMessage) XXX_DiscardUnknown()
func (*DismissApprovalRequestMessage) XXX_Marshal ¶
func (m *DismissApprovalRequestMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DismissApprovalRequestMessage) XXX_Merge ¶
func (m *DismissApprovalRequestMessage) XXX_Merge(src proto.Message)
func (*DismissApprovalRequestMessage) XXX_Size ¶
func (m *DismissApprovalRequestMessage) XXX_Size() int
func (*DismissApprovalRequestMessage) XXX_Unmarshal ¶
func (m *DismissApprovalRequestMessage) XXX_Unmarshal(b []byte) error
type DismissDecision ¶
type DismissDecision struct { // The time at which the approval request was dismissed. DismissTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=dismiss_time,json=dismissTime,proto3" json:"dismiss_time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A decision that has been made to dismiss an approval request.
func (*DismissDecision) Descriptor ¶
func (*DismissDecision) Descriptor() ([]byte, []int)
func (*DismissDecision) GetDismissTime ¶
func (m *DismissDecision) GetDismissTime() *timestamp.Timestamp
func (*DismissDecision) ProtoMessage ¶
func (*DismissDecision) ProtoMessage()
func (*DismissDecision) Reset ¶
func (m *DismissDecision) Reset()
func (*DismissDecision) String ¶
func (m *DismissDecision) String() string
func (*DismissDecision) XXX_DiscardUnknown ¶
func (m *DismissDecision) XXX_DiscardUnknown()
func (*DismissDecision) XXX_Marshal ¶
func (m *DismissDecision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DismissDecision) XXX_Merge ¶
func (m *DismissDecision) XXX_Merge(src proto.Message)
func (*DismissDecision) XXX_Size ¶
func (m *DismissDecision) XXX_Size() int
func (*DismissDecision) XXX_Unmarshal ¶
func (m *DismissDecision) XXX_Unmarshal(b []byte) error
type EnrolledService ¶
type EnrolledService struct { // The product for which Access Approval will be enrolled. Allowed values are // listed below (case-sensitive): // <ol> // <li>all</li> // <li>appengine.googleapis.com</li> // <li>bigquery.googleapis.com</li> // <li>bigtable.googleapis.com</li> // <li>cloudkms.googleapis.com</li> // <li>compute.googleapis.com</li> // <li>dataflow.googleapis.com</li> // <li>iam.googleapis.com</li> // <li>pubsub.googleapis.com</li> // <li>storage.googleapis.com</li> // <ol> CloudProduct string `protobuf:"bytes,1,opt,name=cloud_product,json=cloudProduct,proto3" json:"cloud_product,omitempty"` // The enrollment level of the service. EnrollmentLevel EnrollmentLevel `` /* 159-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents the enrollment of a cloud resource into a specific service.
func (*EnrolledService) Descriptor ¶
func (*EnrolledService) Descriptor() ([]byte, []int)
func (*EnrolledService) GetCloudProduct ¶
func (m *EnrolledService) GetCloudProduct() string
func (*EnrolledService) GetEnrollmentLevel ¶
func (m *EnrolledService) GetEnrollmentLevel() EnrollmentLevel
func (*EnrolledService) ProtoMessage ¶
func (*EnrolledService) ProtoMessage()
func (*EnrolledService) Reset ¶
func (m *EnrolledService) Reset()
func (*EnrolledService) String ¶
func (m *EnrolledService) String() string
func (*EnrolledService) XXX_DiscardUnknown ¶
func (m *EnrolledService) XXX_DiscardUnknown()
func (*EnrolledService) XXX_Marshal ¶
func (m *EnrolledService) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EnrolledService) XXX_Merge ¶
func (m *EnrolledService) XXX_Merge(src proto.Message)
func (*EnrolledService) XXX_Size ¶
func (m *EnrolledService) XXX_Size() int
func (*EnrolledService) XXX_Unmarshal ¶
func (m *EnrolledService) XXX_Unmarshal(b []byte) error
type EnrollmentLevel ¶
type EnrollmentLevel int32
Represents the type of enrollment for a given service to Access Approval.
const ( // Default value for proto, shouldn't be used. EnrollmentLevel_ENROLLMENT_LEVEL_UNSPECIFIED EnrollmentLevel = 0 // Service is enrolled in Access Approval for all requests EnrollmentLevel_BLOCK_ALL EnrollmentLevel = 1 )
func (EnrollmentLevel) EnumDescriptor ¶
func (EnrollmentLevel) EnumDescriptor() ([]byte, []int)
func (EnrollmentLevel) String ¶
func (x EnrollmentLevel) String() string
type GetAccessApprovalSettingsMessage ¶
type GetAccessApprovalSettingsMessage struct { // Name of the AccessApprovalSettings to retrieve. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to get access approval settings.
func (*GetAccessApprovalSettingsMessage) Descriptor ¶
func (*GetAccessApprovalSettingsMessage) Descriptor() ([]byte, []int)
func (*GetAccessApprovalSettingsMessage) GetName ¶
func (m *GetAccessApprovalSettingsMessage) GetName() string
func (*GetAccessApprovalSettingsMessage) ProtoMessage ¶
func (*GetAccessApprovalSettingsMessage) ProtoMessage()
func (*GetAccessApprovalSettingsMessage) Reset ¶
func (m *GetAccessApprovalSettingsMessage) Reset()
func (*GetAccessApprovalSettingsMessage) String ¶
func (m *GetAccessApprovalSettingsMessage) String() string
func (*GetAccessApprovalSettingsMessage) XXX_DiscardUnknown ¶
func (m *GetAccessApprovalSettingsMessage) XXX_DiscardUnknown()
func (*GetAccessApprovalSettingsMessage) XXX_Marshal ¶
func (m *GetAccessApprovalSettingsMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetAccessApprovalSettingsMessage) XXX_Merge ¶
func (m *GetAccessApprovalSettingsMessage) XXX_Merge(src proto.Message)
func (*GetAccessApprovalSettingsMessage) XXX_Size ¶
func (m *GetAccessApprovalSettingsMessage) XXX_Size() int
func (*GetAccessApprovalSettingsMessage) XXX_Unmarshal ¶
func (m *GetAccessApprovalSettingsMessage) XXX_Unmarshal(b []byte) error
type GetApprovalRequestMessage ¶
type GetApprovalRequestMessage struct { // Name of the approval request to retrieve. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to get an approval request.
func (*GetApprovalRequestMessage) Descriptor ¶
func (*GetApprovalRequestMessage) Descriptor() ([]byte, []int)
func (*GetApprovalRequestMessage) GetName ¶
func (m *GetApprovalRequestMessage) GetName() string
func (*GetApprovalRequestMessage) ProtoMessage ¶
func (*GetApprovalRequestMessage) ProtoMessage()
func (*GetApprovalRequestMessage) Reset ¶
func (m *GetApprovalRequestMessage) Reset()
func (*GetApprovalRequestMessage) String ¶
func (m *GetApprovalRequestMessage) String() string
func (*GetApprovalRequestMessage) XXX_DiscardUnknown ¶
func (m *GetApprovalRequestMessage) XXX_DiscardUnknown()
func (*GetApprovalRequestMessage) XXX_Marshal ¶
func (m *GetApprovalRequestMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetApprovalRequestMessage) XXX_Merge ¶
func (m *GetApprovalRequestMessage) XXX_Merge(src proto.Message)
func (*GetApprovalRequestMessage) XXX_Size ¶
func (m *GetApprovalRequestMessage) XXX_Size() int
func (*GetApprovalRequestMessage) XXX_Unmarshal ¶
func (m *GetApprovalRequestMessage) XXX_Unmarshal(b []byte) error
type ListApprovalRequestsMessage ¶
type ListApprovalRequestsMessage struct { // The parent resource. This may be "projects/{project_id}", // "folders/{folder_id}", or "organizations/{organization_id}". Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // A filter on the type of approval requests to retrieve. Must be one of the // following values: // <ol> // <li>[not set]: Requests that are pending or have active approvals.</li> // <li>ALL: All requests.</li> // <li>PENDING: Only pending requests.</li> // <li>ACTIVE: Only active (i.e. currently approved) requests.</li> // <li>DISMISSED: Only dismissed (including expired) requests.</li> // </ol> Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // Requested page size. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // A token identifying the page of results to return. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to list approval requests.
func (*ListApprovalRequestsMessage) Descriptor ¶
func (*ListApprovalRequestsMessage) Descriptor() ([]byte, []int)
func (*ListApprovalRequestsMessage) GetFilter ¶
func (m *ListApprovalRequestsMessage) GetFilter() string
func (*ListApprovalRequestsMessage) GetPageSize ¶
func (m *ListApprovalRequestsMessage) GetPageSize() int32
func (*ListApprovalRequestsMessage) GetPageToken ¶
func (m *ListApprovalRequestsMessage) GetPageToken() string
func (*ListApprovalRequestsMessage) GetParent ¶
func (m *ListApprovalRequestsMessage) GetParent() string
func (*ListApprovalRequestsMessage) ProtoMessage ¶
func (*ListApprovalRequestsMessage) ProtoMessage()
func (*ListApprovalRequestsMessage) Reset ¶
func (m *ListApprovalRequestsMessage) Reset()
func (*ListApprovalRequestsMessage) String ¶
func (m *ListApprovalRequestsMessage) String() string
func (*ListApprovalRequestsMessage) XXX_DiscardUnknown ¶
func (m *ListApprovalRequestsMessage) XXX_DiscardUnknown()
func (*ListApprovalRequestsMessage) XXX_Marshal ¶
func (m *ListApprovalRequestsMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListApprovalRequestsMessage) XXX_Merge ¶
func (m *ListApprovalRequestsMessage) XXX_Merge(src proto.Message)
func (*ListApprovalRequestsMessage) XXX_Size ¶
func (m *ListApprovalRequestsMessage) XXX_Size() int
func (*ListApprovalRequestsMessage) XXX_Unmarshal ¶
func (m *ListApprovalRequestsMessage) XXX_Unmarshal(b []byte) error
type ListApprovalRequestsResponse ¶
type ListApprovalRequestsResponse struct { // Approval request details. ApprovalRequests []*ApprovalRequest `protobuf:"bytes,1,rep,name=approval_requests,json=approvalRequests,proto3" json:"approval_requests,omitempty"` // Token to retrieve the next page of results, or empty if there are no more. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Response to listing of ApprovalRequest objects.
func (*ListApprovalRequestsResponse) Descriptor ¶
func (*ListApprovalRequestsResponse) Descriptor() ([]byte, []int)
func (*ListApprovalRequestsResponse) GetApprovalRequests ¶
func (m *ListApprovalRequestsResponse) GetApprovalRequests() []*ApprovalRequest
func (*ListApprovalRequestsResponse) GetNextPageToken ¶
func (m *ListApprovalRequestsResponse) GetNextPageToken() string
func (*ListApprovalRequestsResponse) ProtoMessage ¶
func (*ListApprovalRequestsResponse) ProtoMessage()
func (*ListApprovalRequestsResponse) Reset ¶
func (m *ListApprovalRequestsResponse) Reset()
func (*ListApprovalRequestsResponse) String ¶
func (m *ListApprovalRequestsResponse) String() string
func (*ListApprovalRequestsResponse) XXX_DiscardUnknown ¶
func (m *ListApprovalRequestsResponse) XXX_DiscardUnknown()
func (*ListApprovalRequestsResponse) XXX_Marshal ¶
func (m *ListApprovalRequestsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListApprovalRequestsResponse) XXX_Merge ¶
func (m *ListApprovalRequestsResponse) XXX_Merge(src proto.Message)
func (*ListApprovalRequestsResponse) XXX_Size ¶
func (m *ListApprovalRequestsResponse) XXX_Size() int
func (*ListApprovalRequestsResponse) XXX_Unmarshal ¶
func (m *ListApprovalRequestsResponse) XXX_Unmarshal(b []byte) error
type ResourceProperties ¶
type ResourceProperties struct { // Whether an approval will exclude the descendants of the resource being // requested. ExcludesDescendants bool `protobuf:"varint,1,opt,name=excludes_descendants,json=excludesDescendants,proto3" json:"excludes_descendants,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
The properties associated with the resource of the request.
func (*ResourceProperties) Descriptor ¶
func (*ResourceProperties) Descriptor() ([]byte, []int)
func (*ResourceProperties) GetExcludesDescendants ¶
func (m *ResourceProperties) GetExcludesDescendants() bool
func (*ResourceProperties) ProtoMessage ¶
func (*ResourceProperties) ProtoMessage()
func (*ResourceProperties) Reset ¶
func (m *ResourceProperties) Reset()
func (*ResourceProperties) String ¶
func (m *ResourceProperties) String() string
func (*ResourceProperties) XXX_DiscardUnknown ¶
func (m *ResourceProperties) XXX_DiscardUnknown()
func (*ResourceProperties) XXX_Marshal ¶
func (m *ResourceProperties) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResourceProperties) XXX_Merge ¶
func (m *ResourceProperties) XXX_Merge(src proto.Message)
func (*ResourceProperties) XXX_Size ¶
func (m *ResourceProperties) XXX_Size() int
func (*ResourceProperties) XXX_Unmarshal ¶
func (m *ResourceProperties) XXX_Unmarshal(b []byte) error
type UnimplementedAccessApprovalServer ¶
type UnimplementedAccessApprovalServer struct { }
UnimplementedAccessApprovalServer can be embedded to have forward compatible implementations.
func (*UnimplementedAccessApprovalServer) ApproveApprovalRequest ¶
func (*UnimplementedAccessApprovalServer) ApproveApprovalRequest(ctx context.Context, req *ApproveApprovalRequestMessage) (*ApprovalRequest, error)
func (*UnimplementedAccessApprovalServer) DeleteAccessApprovalSettings ¶
func (*UnimplementedAccessApprovalServer) DeleteAccessApprovalSettings(ctx context.Context, req *DeleteAccessApprovalSettingsMessage) (*empty.Empty, error)
func (*UnimplementedAccessApprovalServer) DismissApprovalRequest ¶
func (*UnimplementedAccessApprovalServer) DismissApprovalRequest(ctx context.Context, req *DismissApprovalRequestMessage) (*ApprovalRequest, error)
func (*UnimplementedAccessApprovalServer) GetAccessApprovalSettings ¶
func (*UnimplementedAccessApprovalServer) GetAccessApprovalSettings(ctx context.Context, req *GetAccessApprovalSettingsMessage) (*AccessApprovalSettings, error)
func (*UnimplementedAccessApprovalServer) GetApprovalRequest ¶
func (*UnimplementedAccessApprovalServer) GetApprovalRequest(ctx context.Context, req *GetApprovalRequestMessage) (*ApprovalRequest, error)
func (*UnimplementedAccessApprovalServer) ListApprovalRequests ¶
func (*UnimplementedAccessApprovalServer) ListApprovalRequests(ctx context.Context, req *ListApprovalRequestsMessage) (*ListApprovalRequestsResponse, error)
func (*UnimplementedAccessApprovalServer) UpdateAccessApprovalSettings ¶
func (*UnimplementedAccessApprovalServer) UpdateAccessApprovalSettings(ctx context.Context, req *UpdateAccessApprovalSettingsMessage) (*AccessApprovalSettings, error)
type UpdateAccessApprovalSettingsMessage ¶
type UpdateAccessApprovalSettingsMessage struct { // The new AccessApprovalSettings. Settings *AccessApprovalSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"` // The update mask applies to the settings. Only the top level fields of // AccessApprovalSettings (notification_emails & enrolled_services) are // supported. For each field, if it is included, the currently stored value // will be entirely overwritten with the value of the field passed in this // request. // // For the `FieldMask` definition, see // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask // If this field is left unset, only the notification_emails field will be // updated. UpdateMask *field_mask.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Request to update access approval settings.
func (*UpdateAccessApprovalSettingsMessage) Descriptor ¶
func (*UpdateAccessApprovalSettingsMessage) Descriptor() ([]byte, []int)
func (*UpdateAccessApprovalSettingsMessage) GetSettings ¶
func (m *UpdateAccessApprovalSettingsMessage) GetSettings() *AccessApprovalSettings
func (*UpdateAccessApprovalSettingsMessage) GetUpdateMask ¶
func (m *UpdateAccessApprovalSettingsMessage) GetUpdateMask() *field_mask.FieldMask
func (*UpdateAccessApprovalSettingsMessage) ProtoMessage ¶
func (*UpdateAccessApprovalSettingsMessage) ProtoMessage()
func (*UpdateAccessApprovalSettingsMessage) Reset ¶
func (m *UpdateAccessApprovalSettingsMessage) Reset()
func (*UpdateAccessApprovalSettingsMessage) String ¶
func (m *UpdateAccessApprovalSettingsMessage) String() string
func (*UpdateAccessApprovalSettingsMessage) XXX_DiscardUnknown ¶
func (m *UpdateAccessApprovalSettingsMessage) XXX_DiscardUnknown()
func (*UpdateAccessApprovalSettingsMessage) XXX_Marshal ¶
func (m *UpdateAccessApprovalSettingsMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateAccessApprovalSettingsMessage) XXX_Merge ¶
func (m *UpdateAccessApprovalSettingsMessage) XXX_Merge(src proto.Message)
func (*UpdateAccessApprovalSettingsMessage) XXX_Size ¶
func (m *UpdateAccessApprovalSettingsMessage) XXX_Size() int
func (*UpdateAccessApprovalSettingsMessage) XXX_Unmarshal ¶
func (m *UpdateAccessApprovalSettingsMessage) XXX_Unmarshal(b []byte) error